PrePAN

Sign in to PrePAN

Time::Format::MySQL Time formatter like mysql's functions

Author
Cside@github
Date
URL
Status
In Review
Good

Synopsis

use Time::Format::MySQL qw(from_unixtime unix_timestamp);

print from_unixtime(1357873408); #=> 2013-01-11 12:03:28
print unix_timestamp('2013-01-11 12:03:28'); #=> 1357873408

Description

Comments

memo:
Time::Piece::MySQL https://metacpan.org/module/Time::Piece::MySQL is already exists and seems suitable.
Looks good.

Please sign up to post a review.