powered by
Retrieve a simple representation of date_time or just date, for generating day/time specific file names, etc.
simple.date(sep = "_", long = FALSE, time = TRUE)
A string containing the date: MMMDD and optionally time HRam/pm. Or if long=TRUE, a longer representation: DAY MM DD HH.MM.SS YYYY.
character, separator to use for the date/time, eg, underscore or <space> " ".
logical, whether to display a longer version of the date and time, or just a simple version
logical, whether to include the time, or just the date
simple.date() simple.date(" ",long=TRUE) simple.date(time=FALSE)
Run the code above in your browser using DataLab