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;
]
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
As I understand it,
* strftime takes a format string and an integer timestamp and returns a
date string
* date takes a different type of format string and an integer timestamp
and returns a date string
In both cases they default to using the timestamp for the current time.
SO: what you code
3 matches
Mail list logo