Last active
May 16, 2017 14:16
-
-
Save carimatics/fb3079e0c77a919d3096346488f76543 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Time::Piece (); | |
use feature qw/say/; | |
my $tw = { created_at => 'Sat Aug 01 01:56:26 +0000 2010', }; | |
my $tp = Time::Piece->strptime( $tw->{created_at}, "%a %b %d %T %z %Y" ); | |
say $tp->datetime; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment