C
Chad
Hi,
I'm using the JXL class (Java Excel API) to get a date from an excel
file. That date is in EST in the Excel file, but when I grab it using
jxl it changes it to my local zone PST. Is there any way to grab it AS
the format that is in the xls file (est in this case)? I know I can
convert it after it's a date object but I don't want to do that because
it'll interfere with the rules to which this program is supposed to
abide by.
here is the code I use:
Date d = ((DateCell)sheet.getCell(dateTimeCol,row)).getDate();
d.toString() returns:
Thu Oct 27 18:30:00 PDT 2005
Any ideas appreciated,
Thanks!
Chad Arimura
I'm using the JXL class (Java Excel API) to get a date from an excel
file. That date is in EST in the Excel file, but when I grab it using
jxl it changes it to my local zone PST. Is there any way to grab it AS
the format that is in the xls file (est in this case)? I know I can
convert it after it's a date object but I don't want to do that because
it'll interfere with the rules to which this program is supposed to
abide by.
here is the code I use:
Date d = ((DateCell)sheet.getCell(dateTimeCol,row)).getDate();
d.toString() returns:
Thu Oct 27 18:30:00 PDT 2005
Any ideas appreciated,
Thanks!
Chad Arimura