module

Time::EpochConverter

Class methods

from_http_param(value : String) : Time

Parse Time from an HTTP param as unix timestamp.

Source
to_http_param(value : Time, builder : HTTP::Params::Builder, key : String)

Put value as a unix timestamp into the builder at key.

Source
to_http_param(value : Time)

Return value as a unix timestamp string.

Source