Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing to a table with a datetime format

Status
Not open for further replies.

mellenburg

Programmer
Aug 27, 2001
77
US
I have a variable in a table that has a date time format (0000-00-00 00:00:00). In PHP, I have calculated a date time constant (number of seconds from...). I would like to write that value to the table in the yyyy-mm-dd hh:mm:ss format. How do I do this? Thank you for any help provided.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top