Jump to content

Dates/Times


Andy11548

Recommended Posts

What do you expect when you ask a question that begs an answer like that? You never said it was phpbb's code, so it's perfectly reasonable to propose storing the data properly to begin with.

 

Now, to address your question with the additional necessary tidbit that you can't/won't alter the code that handles the insert, there are the MySQL functions DATE_FORMAT() and FROM_UNIXTIME() that will allow you to do what you want.

Link to comment
https://forums.phpfreaks.com/topic/268041-datestimes/#findComment-1375610
Share on other sites

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.