Re: DateTools question

2006-04-26 Thread Bill Snyder
Makes sense. Thanks for the response! --Bill On 4/26/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > : Why does DateTools.dateToString() return a String representation of my > Date, > : but in a different TimeZone. Does it use its own Calendar/TimeZone > settings? > > Yes, DateTime is hardco

Re: DateTools question

2006-04-26 Thread Chris Hostetter
: Why does DateTools.dateToString() return a String representation of my Date, : but in a different TimeZone. Does it use its own Calendar/TimeZone settings? Yes, DateTime is hardcoded to use GMT for it's string representations. It wouldn't be safe for DateTools to use your current TimeZone/Loca