poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avik.sengu...@itellix.com
Subject Re: AW: setCellValue(Date) is displayed ahead by 1 day and 4 years
Date Tue, 04 Nov 2003 10:30:43 GMT
Also on the 1904 date issue, i vaguely seem to remember a bug on this, but dont
remember if it was fixed. You may want to search our bugzilla for this .. which
version are you using.. you should use 2.0RC1

Quoting Sasha Borodin <sasha@whoissasha.com>:

> CST is Central Standard Time (a U.S. Time zone) - but that's just what
> Date.toString() outputs in my locale...it's still just a java.util.Date
> that's being passed to Cell.setCellValue().
> 
> Thanks for your reply.
> 
> -Sasha
> 
> On 11/25/03 10:36 AM, "Mehner, Björn" <Bjoern.Mehner@epos-cs.de> wrote:
> 
> >> HSSFRow header = sheet.getRow((short) 0);
> >> header.createCell((short) 0).setCellValue(aDate);
> >> 
> >> Of course I also create a date style, and set the cell style to that.
> >> 
> >> So for example, this is some debugging (toString) for 3 dates:
> >> 
> >> Sat Nov 01 00:00:00 CST 2003
> >> Sat Nov 15 00:00:00 CST 2003
> >> Sun Nov 16 00:00:00 CST 2003
> > 
> > What on earth is CST? Maybe you are using a timezone Excel cannot deal
> > with?
> > 
> > ciao Bodo
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
> 
> 





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


Mime
View raw message