The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::FromUnixtime - to convert from unixtime to date suitably

SYNOPSIS

    use App::FromUnixtime;

    App::FromUnixtime->run(@ARGV);

DESCRIPTION

App::FromUnixtime provides the from_unixtime command and the from_unixtime function.

METHOD

run

run to convert process

EXPORT FUNCTION

from_unixtime($line, @options)

App::FromUnixtime exports from_unixtime function for converting the string that may be included unixtime.

    use App::FromUnixtime;

    print from_unixtime('created_at 1419702037'); # created_at 1419702037(Sun, 28 Dec 2014 02:40:37 +0900)

    print from_unixtime('created_at 1419702037', '--format' => '%Y-%m-%d'); # created_at 1419702037(2014-12-28)

See from_unixtime command for more options.

REPOSITORY

App::FromUnixtime is hosted on github: http://github.com/bayashi/App-FromUnixtime

I appreciate any feedback :D

AUTHOR

Dai Okabayashi <bayashi@cpan.org>

SEE ALSO

from_unixtime

LICENSE

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.