I want to get the current date (full date with precision to seconds), and then convert it to a numeric value.
Share
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.
Numeric value like a unix timestamp?
Further info: As Paul Rubel points out in the comments, since this is the unix timestamp representation, the number returned is the number of seconds since the epoch, 00:00:00 UTC on 1 January 1970.
UPDATE
To get a time object back from the timestamp: