question: public static Date translateTime ( Date date , TimeZone src , TimeZone dest ) { Date newDate = new Date ( ) ; int offset = ( dest . getOffset ( date . getTime ( ) ) - src . getOffset ( date . getTime ( ) ) ) ; newDate . setTime ( date . getTime ( ) - offset ) ; return newDate ; }
target:  Translate a date & time from a users time zone to the another (probably server) time zone to assist in creating a simple trigger with  the right date & time.