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!!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.