No such thing as a small change | |
PerlMonks |
Re: Types::DateTime, DateTimeUTC->plus_coercions( Format['ISO8601'] ), output format override questionby ikegami (Patriarch) |
on Dec 24, 2019 at 14:39 UTC ( [id://11110591]=note: print w/replies, xml ) | Need Help?? |
$cowtime->timestamp is a DateTime object, so you could use the following:
I'm not aware of any DateTime::Format::* class that would produce the format you want. If there was you could set it as the default format (used for stringification) using the following:
In Section
Seekers of Perl Wisdom
|
|