Eve::PgSqlType::TimestampWithTimeZone - a PostgreSQL timestamp with timezone type.
my $bigint = Eve::PgSqlType::TimestampWithTimeZone->new(); $bigint->serialize(value => $datetime);
Eve::PgSqlType::TimestampWithTimeZone is a PostgreSQL timestamp with time zone type adapter class.
The PG_TIMESTAMPTZ type.
Wraps an expression with CAST statement.
expression
CAST (expression AS timestamp with time zone)
Formats a DateTime object into the appropriate string timestamp with timezone representation with the DateTime::Format::Pg module.
value
The string like '2011-03-21 20:41:34.123456+03'.
Parces a timestamp with 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.