Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Jifty::DBI::Filter::DaUser)Contributed Perl DocumenJifty::DBI::Filter::Date(3)

NAME
       Jifty::DBI::Filter::Date	- DateTime object wrapper around date columns

DESCRIPTION
       This filter allow you to	work with DateTime objects that	represent
       "Dates",	store everything in the	database in GMT	and not	hurt yourself
       badly when you pull them	out and	put them in repeatedly.

   encode
       If value	is a DateTime object then move it into a "floating" timezone
       and expand it into ISO 8601 format "YYYY-MM-DD".	 By storing it in the
       database	as a floating timezone,	it doesn't matter if the user's
       desired timezone	changes	between	lookups

       Does nothing if value is	not defined or is a string.

   decode
       If we're	loading	something from a column	that doesn't specify times,
       then it's loaded	into a floating	timezone.

       If value	is defined then	converts it into DateTime object otherwise do
       nothing.

SEE ALSO
       Jifty::DBI::Filter, DateTime

perl v5.32.1			  2014-05-29	   Jifty::DBI::Filter::Date(3)

NAME | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Jifty::DBI::Filter::Date&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help