Thanks
m3rajk
I have throughly read your link, I think i am beginning to get it...
I am just curious where exactly did you use the code, When i thought of it, i don't think it's a bad idea to have the time and date of the server (wherever it is) because in some sense it is consistent, every date and time will be stamped equally, so...
I thought it would be VERY nice to use it the way you did in the example you gave me, that is to use them in conjunction with each other, to show for example that a user posted a story at what time, and the difference with the server time i mean it would look quite pro to see August 13, 2003 - 11:35
+4 hehe if you know where i am getting at
how do you plan to use it?
A quick look at the bible showev the following results:
checkdate -- Validate a gregorian date
date -- Format a local time/date
getdate -- Get date/time information
gettimeofday -- Get current time
gmdate -- Format a GMT/UTC date/time
gmmktime -- Get UNIX timestamp for a GMT date
gmstrftime -- Format a GMT/UTC time/date according to locale settings
localtime -- Get the local time
microtime -- Return current UNIX timestamp with microseconds
mktime -- Get UNIX timestamp for a date
strftime -- Format a local time/date according to locale settings
strtotime -- Parse about any English textual datetime description into a UNIX timestamp
time -- Return current UNIX timestamp
I found that there are many ways to find out the gmt/utc datetimes, and perhaps they can be alittle simpler than your string replacements but i have not yet read into them so i am just giving a preview, in search of opinion...