Rodrigo de Avila wrote: > Hi all, > i have the following problem: my server is on Toronto, Canadá > (timezone "America/Toronto"), but I work in Porto Alegre, Brazil > (timezone "America/Sao_Paulo"). In the future, other users work in my > system, with a lot of timezones. What is the best way to persist the > DateTime objects using Hibernate, to the system show the persisted > dates in the user timezone?
Try http://joda-time.sourceforge.net/contrib/hibernate/api-release/org/joda/time/contrib/hibernate/PersistentDateTimeTZ.html Stephen ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Joda-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/joda-interest
