|
NAMENo::Worries::Date - date handling without worriesSYNOPSISuse No::Worries::Date qw(date_parse date_stamp date_string); $string = date_stamp(); # e.g. 2012/04/12-11:01:42 $string = date_string(time()); # e.g. 2012-04-12T09:01:42Z $string = date_string(Time::HiRes::time()); # e.g. 2012-04-12T09:01:42.48602Z $time = date_parse("Sun, 06 Nov 1994 08:49:37 GMT"); DESCRIPTIONThis module eases date handling by providing convenient wrappers around standard date functions. All the functions die() on error.The strings and times may include fractional seconds like in the example above. date_parse() can accept many more formats than simply what date_stamp() and date_string() return. FUNCTIONSThis module provides the following functions (none of them being exported by default):
SEE ALSOHTTP::Date, No::Worries.AUTHORLionel Cons <http://cern.ch/lionel.cons>Copyright (C) CERN 2012-2019
Visit the GSP FreeBSD Man Page Interface. |