views:

19

answers:

1

I have a date field in mysql that contains numbers like 2455419. Any idea what format this is and how to convert to php/human eadable form?

+2  A: 

Seems to be Unix Timestamp. You can convert it to human readable form by using date() function of PHP.

Shubham
Or you could use `strftime`. you could also convert it with a conversion function in your actual query with similar functions in mysql.
prodigitalson