db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Torque Date handling
Date Thu, 20 Apr 2006 22:33:28 GMT
Hi all,

I am struggling with timezone issues surrounding Torque's handling of Dates.

If a database contains a date column (example: my_date = '2006-04-21'), 
an attempt to call the generated getMyDate() method seems to return a 
Date() object in the default timezone on the system.

Is there a method to tell Torque which timezone we are in, and therefore 
what timezone to use for returning Dates? The timezone of the machine is 
not necessarily the intended timezone of the application.

Regards,
Graham
--

Mime
View raw message