Nicolas Franck
and 5 contributors

NAME

Catmandu::Fix::start_day - Catmandu Fix for retrieving date string for start of the current day

SYNOPSIS

  #get start of the day in time zone Europe/Brussels
  start_day('start_day','pattern' => '%Y-%m-%dT%H:%M:SZ','time_zone' => 'Europe/Brussels')

  #get start of the day tomorrow in time zone Europe/Brussels
  start_day('start_day','pattern' => '%Y-%m-%dT%H:%M:SZ','time_zone' => 'Europe/Brussels', 'add' => 2)

AUTHOR

Nicolas Franck, <nicolas.franck at ugent.be>

SEE ALSO

Catmandu::Fix