There are many epochs. Which one are you interested in? If you are interested
in the POSIX time_t epoch, then you could look at ?DateTimeClasses to find out
about ?as.POSIXct. You might also find my email on inputting zones informative
[1].
Also, per the Posting Guide, please don't post in html
On Nov 16, 2013, at 8:46 PM, vivek kumar singh wrote:
Hi All,
I have time series data in (Year-month-date-hour-minute-second) format
and i want to convert it to epoch time.
I have tried the following:
*> Sys.time()**
**[1] "2013-11-17 10:39:46 MYT"**
**> as.numeric(Sys.time())**
**[1] 1384656
Hi All,
I have time series data in (Year-month-date-hour-minute-second) format
and i want to convert it to epoch time.
I have tried the following:
*> Sys.time()**
**[1] "2013-11-17 10:39:46 MYT"**
**> as.numeric(Sys.time())**
**[1] 1384656006**
**> as.numeric("2013-11-17 10:39:46 MYT")**
**[1] N
3 matches
Mail list logo