roger rover
roger rover

Reputation: 641

mysql date to php

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?

Upvotes: 0

Views: 162

Answers (1)

Shubham
Shubham

Reputation: 22349

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

Upvotes: 2

Related Questions