to_unixtime | R Documentation |
This is a general purpose helper function for this package useful in converting a time stamp to unix time.
to_unixtime(x)
x |
Date or datetime string or object. |
This function is inspired/borrowed from a github page by Neal Richardson who did a similar work to convert the general date time format to unix time.
The unix time stamp is a way to track time as a running total of seconds. This count starts at the Unix Epoch on January 1st, 1970 at UTC. Therefore, the unix time stamp is merely the number of seconds between a particular date and the Unix Epoch.
Integer vector with unix time stamp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.