Problems? Is your data what you think it is? | |
PerlMonks |
Re: Two digit year with DateTime?by ikegami (Patriarch) |
on Mar 12, 2019 at 00:24 UTC ( [id://1231141]=note: print w/replies, xml ) | Need Help?? |
As an aside, DateTime->today() very likely incorrect because it doesn't return the local date. If you want the local date, you could use
However, that will fail on a day without midnight. The following is the correct approach is:
In Section
Seekers of Perl Wisdom
|
|