htmanning has asked for the wisdom of the Perl Monks concerning the following question:
The error is: WARNING: the TZ Date::Manip config variable is deprecated and will be removed in March 2016. Please use the SetDate or ForceDate config variables instead. So I researched and replaced the third line with this:use Date::Manip; my $date2 = "$timestamp"; Date_Init("TZ=EST"); my $http_date = UnixDate(ParseDate("$date2 -0500"), "%a, %d %b %Y %H:% +M:%S %Z");
But that returns an error too. What am I missing?$date->config("setdate","now,EST");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Help with date:manip
by beech (Parson) on May 10, 2016 at 06:33 UTC | |
by davido (Cardinal) on May 10, 2016 at 06:38 UTC | |
by htmanning (Friar) on May 10, 2016 at 06:53 UTC | |
by htmanning (Friar) on May 10, 2016 at 06:43 UTC | |
by davido (Cardinal) on May 10, 2016 at 06:50 UTC | |
by beech (Parson) on May 10, 2016 at 06:49 UTC | |
by SBECK (Chaplain) on May 10, 2016 at 13:18 UTC | |
|
Re: Help with date:manip
by SBECK (Chaplain) on May 10, 2016 at 13:00 UTC | |
|
Re: Help with date:manip
by FreeBeerReekingMonk (Deacon) on May 10, 2016 at 20:57 UTC |