timeDefaults | R Documentation |
Creates a list of defaults for reading/printing times and dates.
timeDefaults()
The list components are read from their corresponding options,
which are the component names with "time."
prepended. For example, the
weekday names come from timeDateOptions("time.day.name")
.
returns a list containing the following components:
month.name |
the names of the calendar months. |
month.abb |
the abbreviations for the calendar months. |
day.name |
the names of the weekdays. |
day.abb |
the abbreviations for the weekdays. |
am.pm |
strings for printing/reading AM and PM. |
century |
the first year of 100-year stretch to use for the current century in reading/printing dates, e.g. 1900. |
zone |
the time zone. |
timeDateOptions
, timeDate
class.
timeDefaults()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.