if you want the current time all you have to do is this.. :)

echo date("l d F, Y g:i A")

that will out put:

Thursday 05 July, 2001 7:52 PM

or whatever time your system is at it will echo it in that format.. hope
that helps!

jay

----- Original Message -----
From: "JustinS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 7:46 PM
Subject: [PHP] Need help with timestamp....


I want to stamp the CURRENT time on my page...

as of right now it's reading

======

Wednesday 31 December, 1969

======

i assume im not doing something correctly...

the following is how i have the line written atm

define('SUB_BAR_TITLE', strftime(DATE_FORMAT_LONG, (date ("F d, Y h:i:s
A"))));

no, i did not write this script, which is the reason i dunno what the heck
im doing -- im curious if anyone has some insight on the problem

Thanks in advance.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to