0

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?

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

1 Comment

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.