Here Is A Code

Started on the old forum in February 2008 · view the original in the archive · old links redirect here

1 reply · 495 views · started 18 years ago · 1 min read

Guest #1

this cod is for count down enjoy

<? $day = 1; $month = 1; $year = 2008; $end = mktime(0,0,0,$month,$day,$year); $today= mktime(date("G"),date("i"), date("s"),date("m"),date("d"),date("Y")); $days=($end-$today)/86400; if ($days>0) { $r1 = explode('.',$days); $hours=24*($days-$r1[0]); $r2 = explode('.',$hours); $minutes=60*($hours-$r2[0]); $r3 = explode('.',$minutes); $seconds=60*($minutes-$r3[0]); $r4 = explode('.',$seconds); echo 'Days left: ' .$r1[0]; echo ' Time left: ' . $r2[0] . ':' . $r3[0] . ':' . $r4[0]; } else { echo "today is roger birthday lol:)";} ?>

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close