Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Error: Error parsing time at /usr/lib/perl/5.18/Time/Piece.pm#!/usr/bin/perl use warnings; use strict; use Time::Piece; my $t = Time::Piece->new(); my $date = $t->strptime(sprintf("%02d",$t->mon).$t->day_of_month.$t->y +ear, '%m%d%Y'); print"\n $date\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Time Piece Error Parsing
by runrig (Abbot) on Mar 09, 2016 at 16:42 UTC | |
by Anonymous Monk on Mar 09, 2016 at 18:07 UTC | |
by runrig (Abbot) on Apr 15, 2016 at 15:58 UTC | |
|
Re: Time Piece Error Parsing
by poj (Abbot) on Mar 09, 2016 at 17:03 UTC |