in reply to Re: Get current time using Joda time format
in thread Get current time using Joda time format
my $t = Time::Piece->strptime("Friday 24rd Mar, 2017", "%A %drd %b, % +Y"); print $t->strftime("%a %b %d %H:%m:%s %Y");
gives something like this
"Fri Mar 24 11:54:55.234 2017"But I need that as print
$t->strftime("EEE MMM dd HH:mm:ss.SSS yyyy");Is there any module like that????
I dont have unix format. I have only joda time format string
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Get current time using Joda time format
by hippo (Archbishop) on Mar 24, 2017 at 10:53 UTC |