.:.:.:.:
RTTP
.
Mobile
:.:.:.:.
[
<--back
] [
Home
][
Pics
][
News
][
Ads
][
Events
][
Forum
][
Band
][
Search
]
full forum
|
bottom
jump pages:[
all
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
]
jump pages:[
all
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
]
Reply
[
login
]
SPAM Filter:
re-type this
(values are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E, or F)
you are quoting a heck of a lot there.
[QUOTE]blah blah blah[/QUOTE] to reply to RustedAngel.
Please remove excess text as not to re-post tons
message
[QUOTE="RustedAngel:93999"][CODE] $diary_entries = array('121799','121899','121999','122199','122099','122399','122299', '122699','122499','122799','122899','123099','122999','010800','123199','010100', '010200','010500','010300','010700','010600','010900','011000','012100','011400', '070700','012200','021500','071400','070800','071200','071300','073000','072000', '072900','072800','073100','021801','021901','122802','122902','030301','030401', '042701'); sort($diary_entries); $as_timestamps = array(); $i = 0; foreach ($diary_entries as $s) { $month = substr($s, 0, 2); $day = substr($s, 2, 2); $year = substr($s, 4, 2); $unix_timestamp = mktime(0,0,0, $month, $day, $year); print("$s = $unix_timestamp
"); $as_timestamps[$i] = $unix_timestamp; $i++; } sort($as_timestamps); print("
Now sorted by timestamp, oldest to newest
"); foreach ($as_timestamps as $s) { $diary_entry = date("mdy", $s); print("$s = $diary_entry
"); } $last_diary = $as_timestamps[$i-2]; $diary_entry = date("mdy", $last_diary); print("
Most recent diary entry is:
$diary_entry
"); ?>[/CODE][/QUOTE]
top
[
Vers. 0.12
][ 0.003 secs/8 queries][
refresh
][