Time::dt - date and time succinctly
use Time::dt; say "iso timestamp: ", dt; say "stringification shmingification: ", dt->dt; Time::dt::strptime($timestamp, "%Y-%m-%d %H:%M:%S"); # epoch
String format with timezone.
print $dt->zdt('US/Eastern');
my $dt = dt(time);
my $dt = read_dt(
Returns the epoch seconds for a given parsed time.
my $t = strptime($string, $format);
Eric Wilhelm @ <ewilhelm at cpan dot org>
http://scratchcomputing.com/
If you found this module on CPAN, please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
If you pulled this development version from my /svn/, please contact me directly.
Copyright (C) 2013 Eric L. Wilhelm, All Rights Reserved.
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Time::Piece::Tidy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Time::Piece::Tidy
CPAN shell
perl -MCPAN -e shell install Time::Piece::Tidy
For more information on module installation, please visit the detailed CPAN module installation guide.