rfc822t {datetimeutils} | R Documentation |
Format Date and Time as Described in RFC 822
Description
Format a timestamp as described in RFC 822.
Usage
rfc822t(x, include.dow = TRUE)
Arguments
x |
a vector that can be coerced to |
include.dow |
logical; include the day of the week? |
Details
Formats a timestamp as ‘%Y %H:%M:%S %z
’, possibly
prepending an abbreviated day-of-week. The function ignores the
current locale: day-of-week and month names are in English. The
format is required for timestamps in RSS feeds.
Value
a character vector
Author(s)
Enrico Schumann
References
https://www.ietf.org/rfc/rfc0822.txt
https://www.rssboard.org/rss-specification
See Also
Examples
rfc822t(Sys.time())
[Package datetimeutils version 0.6-4 Index]