You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Avik Sengupta <av...@apache.org> on 2003/09/19 17:15:08 UTC
RE: Reading Date using POI
check the version of POI you are running. I dont think this method
existed in 1.5.1. If you are using 1.5.1, then just re-implement the
method.. its a couple of lines of code only.
the latest dev release is 2.0pre3
Please also send mails only to the list.
On Fri, 2003-09-19 at 20:09, som kolli wrote:
> Generated servlet error:
> C:\Program Files\Apache Tomcat
> 4.0\work\Standalone\localhost\examples\jsp\uploadExcel$jsp.java:265: Method
> isCellDateFormatted(org.apache.poi.hssf.usermodel.HSSFCell) not found in
> class org.apache.poi.hssf.usermodel.HSSFDateUtil.
> if (HSSFDateUtil.isCellDateFormatted(cell)) {
> ^
>
> iam getting this error when i followed the code which is there in FAQ's...
> pls help me out..
>
> som
>
> -----Original Message-----
> From: Avik Sengupta [mailto:avik@apache.org]
> Sent: Friday, September 19, 2003 9:59 AM
> To: som.kolli@knacksystems.com
> Subject: Re: Reading Date using POI
>
>
> In an excel file, date is stored as a number. So "as it is" IS a number.
> You'll have to use one of the convenience functions to convert it to a
> date object.
>
> On Fri, 2003-09-19 at 19:33, som kolli wrote:
> > Hi all,
> >
> > I have a date format in excel which I want to read.I could see in API the
> > celltype recognizes only numeric and string.., Is there any way I can
> > display date (from excel) on to browser as it is...
> >
> > pls help me out..
> >
> > thanks
> > som
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org