Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
provides from_unixtime() and unix_timestamp()
Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/Time/Format
script
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile

README.md

NAME

Time::Format::MySQL - provides from_unixtime() and unix_timestamp()

SYNOPSIS

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

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

DESCRIPTION

Time::Format::MySQL provides mysql-like functions, from_unixtime() and unix_timestamp().

FUNCTIONS

  • from_unixtime($unixtime [, $format])

    unix timestamp -> date time

  • unix_timestamp($datetime [, $format])

    date time -> unix timestamp

SEE ALSO

LICENSE

Copyright (C) Hiroki Honda.

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

AUTHOR

Hiroki Honda cside.story@gmail.com

Something went wrong with that request. Please try again.