On Wednesday 21 August 2002 20:17, lcrocker@nupedia.com wrote:
That's true, except that the PHP language does not have a gmtime() function. That's the main reason the code was written the way it is now. I could work around it getting local time and converting myself, with the local timezone set somewhere, but that's not very Unix-like. I'll probably just take the easy way out and set the server to GMT.
time() returns the time in seconds, and gmdate() converts it to human-readable format in any of several formats.
phma