powered by
Function to format a mondate into its character representation according to the displayFormat property.
mondate
displayFormat
# S3 method for mondate format(x, ...)
character representation of the mondate.
character
a mondate.
further arguments passed to or from other methods.
For more details see format and especially strptime.
format
strptime
strptime.
(b<-mondate(1)) # end of first month of millennium format(b) # "01/31/2000" -- with quotes -- in the U.S. locale format(b, format="%Y-%m-%d") # "2000-12-31"
Run the code above in your browser using DataLab