splitDate | R Documentation |
splitDate - Generates a vector of date and time components, perhaps for inclusion in filenames or other labels; helpful for keeping different run outputs seperate and identifiable.
splitDate(dat = NA)
dat |
|
a vector od characters relating to 'Year', 'Month', 'Day','Time', and a DateTime, which is a combination of all of these suitable for inclusion in a filename.
## Not run:
tmp <- splitDate()
print(tmp)
print(names(tmp))
print(as.numeric(tmp[1:3]))
print(tmp["DateTime"])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.