I have a date/time field from a shopping cart API feed, but I don’t know what format it is in and I don’t have access to the database.
What could [1252457867] be for a date?
These dates are all within the last couple weeks
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That looks like seconds elapsed since Jan. 1st, 1970 12:00AM.
Use this function to get the date:
This will output {9/9/2009 12:57:47 AM} PST
**EDIT: **
If you need UTC:
This outputs {9/9/2009 7:57:47 AM}
–Adam