in reply to golfing on localtime

I follow the standards of my old parents...
perl -MDateTime -le 'print DateTime->now' 2006-07-18T14:21:40
Yes, I kown, is NOT localtime, but... is golfing!... and is the method recommended.