Module hackney_date

Function Index

asctime_to_date/1Parse an asctime date.
date_to_rfc2109/1Return the date formatted according to RFC2109.
parse_http_date/1Parse an HTTP date (RFC1123, RFC850 or asctime date).
rfc1123_to_date/1Parse an RFC1123 date.
rfc2109_to_date/1Parse an RFC2109 date.
rfc850_to_date/1Parse an RFC850 date.

Function Details

asctime_to_date/1

asctime_to_date(Data::binary()) -> any()

Parse an asctime date.

date_to_rfc2109/1

date_to_rfc2109(X1::calendar:datetime()) -> binary()

Return the date formatted according to RFC2109.

parse_http_date/1

parse_http_date(Data::binary()) -> any()

Parse an HTTP date (RFC1123, RFC850 or asctime date).

rfc1123_to_date/1

rfc1123_to_date(Data::binary()) -> any()

Parse an RFC1123 date.

rfc2109_to_date/1

rfc2109_to_date(Data::binary()) -> any()

Parse an RFC2109 date.

rfc850_to_date/1

rfc850_to_date(Data::binary()) -> any()

Parse an RFC850 date.


Generated by EDoc