| format.datetimes {ssBase} | R Documentation |
This function provides a method for the generic function format to be used on objects with class "datetimes".
## S3 method for class 'datetimes': format(x, ...)
x |
a datetimes object. |
... |
other options for formatting "datetimes" objects.
|
a character vector of the same length as the input vector, with the format “DDMMMYYYY hh:mm:ss.s” is output, where the number of decimal places for second is specified by the datetimes attribute "dp.second".
a <- datetimes(1998, 6, 2, 13, 34, 25.9, dp.second=1) format(a)