Jump to content

Converting to Mysql INT for Date?


jaeitee

Recommended Posts

Is there a quick way to take a normal date and convert it to MySQL INT.

Long version... I'm trying to work out how to calculate a normal date in to INT (11 digit mysql integer).  I have upload a heap of images from our old legacy site and would now like to change the date time on the upload to reflect their original submission date.  The date in the database for img_date etc are all in INT such as "1447844152."  

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...