G'day Chris,
Including other bits of information I picked up in this thread, consider this:
#!/usr/bin/env perl -l use strict; use warnings; use Time::Piece; print localtime->strftime('%Y-%m-%dT%H:%M:%S');
Output:
2013-11-27T19:31:52
-- Ken
In reply to Re: Anyone know how to get DateTime::Format::W3CDTF, or DateTimeX::Web to print localtime?
by kcott
in thread Anyone know how to get DateTime::Format::W3CDTF, or DateTimeX::Web to print localtime?
by taint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |