commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rusty Wright <rusty.wri...@gmail.com>
Subject Re: Common Net 1.4.1
Date Tue, 03 Mar 2009 16:11:39 GMT
The underlying operating system, unix for sure, but I'm not sure about windows, stores time
values in GMT.  When it *displays* them it converts them to whatever the local time zone is.


bhamilton wrote:
> I'm using Common Net 1.4.1, the FTPClient listFiles() method to an array 
> of FTPFile objects.  The Calendar object, within the FTPFile object, has 
> a TimeZone of GMT.  One question is how is that determined?  On the 
> client machine, the default TimeZone is 'America/New_York'.
> 
> The dates returned in the Calendar are not consistent.  When the process 
> ran at 6:02 this morning, a certain file had a date time of 20080303 
> 06:05:00.  When the process ran 5 minutes later, at 6:07am, the same 
> file had a date and time of 20090303 06:05:00.
> 
> Any thoughts?
> 
> Thanks!
> Brenda Hamilton
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message