Eve::PgSqlType::Timestamp - a PostgreSQL timestamp without timezone type.
my $bigint = Eve::PgSqlType::Timestamp->new(); $bigint->serialize(value => $datetime);
Eve::PgSqlType::Timestamp is a PostgreSQL timestamp without time zone type adapter class.
The PG_TIMESTAMP type.
Wraps an expression with CAST statement.
expression
CAST (expression AS timestamp without time zone)
Formats a DateTime object into the appropriate string timestamp without timezone representation with the DateTime::Format::Pg module.
value
The string like '2011-03-21 20:41:34.123456'.
Parses a timestamp without time zone string representation into the appropriate DateTime object with the DateTime::Format::Pg module.
A DateTime object.
Copyright 2012 Igor Zinovyev.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Eve, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Eve
CPAN shell
perl -MCPAN -e shell install Eve
For more information on module installation, please visit the detailed CPAN module installation guide.