Jump to content

incredibly tired need help with timestamp issues.


monkeytooth

Recommended Posts

Well its not really an issue so much as just curiousity. time() thats based on the server time from the location the server is in etc right?

 

What if I want to keep all my logs uniform to my timezone. Im in -5 (Eastern US/Canada) my server is -6 i dunno anyway its an hour behind me I wanna make my timestamps equivilant to my timezone.. most of my timestamps i convert to mysql timestamps yyyy-mm-dd hh:mm:ss format using date() and time() as the refrence for the timestamp..

 

Is this a bad idea to want to do this by the way, will if conflict with anything if i do it that way, should I just leave them as is and maybe just add an hour to the display of the stamps or should I store them the way I want to see them?

 

-----------------

Being really tired, tempting to talk let alone code, bad idea!! bad.. I need coffee.. oooooOO look a blinky light!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.