I want to convert "2013-09-16" into unix time.
I found Convert UNIX epoch to Date object in R but I need to do the reverse of that.
Thanks!
Quite simple:
as.numeric(as.POSIXct("2013-09-16 2:13:46 EST"))
2.1m questions
2.1m answers
60 comments
57.0k users