--- Charlie Markwick <[EMAIL PROTECTED]> wrote:
> Hmm not sure I understand how to pass the current
> date to it.
If you don't supply any arguments to the mktime()
function, it uses whatever are the current month, day,
year, hour, minute and second on the server.
mktime(1,2,3,4,5,2006);
That will return the Unix timestamp for 01:02:03 AM on
5 April of 2006.
mktime(1,2,3);
That will return the Unix timestamp for 01:02:03 AM of
whatever date today is.
mktime();
That will return the Unix timestamp for 'now' (aka,
the second the function is executed).
Hope this helps!
Michael Roush
[EMAIL PROTECTED]
"The power of the Web is in its universality. Access by everyone regardless of
disability is an essential aspect."
-- Tim Berners-Lee, W3C Director and inventor of the World Wide Web
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs