The JavaScript library I’m using represents user login times as long integers:
1325982833403
How do I convert this to a DateTime (‘MM/dd/yyyy hh:mm tt’) value that the datejs library would understand?
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.
Using Date constructor:
That number is Unix timestamp, google for more information about this, and conversion techniques