powered by
A graphical user interface (GUI) for converting between character representations and objects of class POSIXt or Date.
POSIXt
Date
FormatDateTime(sample = as.POSIXct("1991-08-25 20:57:08"), fmt = "", parent = NULL)
POSIXt or Date. Sample date-time
character. Conversion specification format
tkwin. GUI parent window
Returns a character string representing the formatted date-time value.
strptime, format
strptime
format
# NOT RUN { new.fmt <- FormatDateTime(fmt = "%A %B %d %I:%M %p") FormatDateTime(Sys.Date()) # } # NOT RUN { # }
Run the code above in your browser using DataLab