Examples for 'httr::parse_http_date'


Parse and print http dates.

Aliases: parse_http_date http_date

Keywords:

### ** Examples

parse_http_date("Sun, 06 Nov 1994 08:49:37 GMT")
[1] "1994-11-06 08:49:37 GMT"
parse_http_date("Sunday, 06-Nov-94 08:49:37 GMT")
[1] "1994-11-06 08:49:37 GMT"
parse_http_date("Sun Nov  6 08:49:37 1994")
[1] "1994-11-06 08:49:37 GMT"
http_date(Sys.time())
[1] "Mon, 11 Aug 2025 16:07:01 GMT"

[Package httr version 1.4.7 Index]