Article View: borland.public.jbuilder.java.language
Article #15917Re: How to calculate days between two Dates?
From: Ernest Schloesser
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
17 lines
1249 bytes
1249 bytes
That's not an answer. The GregorianCalender class does not have a function for calculating the days between to dates. The class TimeStamp does . Anyway: How do I calculate the difference between two time marks in seconds (or milliseconds) without having to use the TimeStamp class ? The TimeStamp class implicates using SQL, does making the applet big. All function that I could use in Time or Date are protected. Ernest Schloesser Alexis Rios wrote: > Use the GregorianCalendar class > Jukka Miettinen <jmie@occuphealth.fi> wrote in message > news:36EE760D.C72372A2@occuphealth.fi... > > Does anyone know a way to calculate days between two sqlDates? > >
Technical Details
Message-ID:
<3716549C.B0BB2164@bcl.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36EE760D.C72372A2@occuphealth.fi> <7eb9gd$osm2@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,12335e51669c49b7 X-Google-Attributes: gidf74b3,public From: Ernest Schloesser <sos@bcl.de> Subject: Re: How to calculate days between two Dates? Date: 1999/04/15 Message-ID: <3716549C.B0BB2164@bcl.de> X-Deja-AN: 466865893 Content-Transfer-Encoding: 7bit References: <36EE760D.C72372A2@occuphealth.fi> <7eb9gd$osm2@forums.borland.com> X-Accept-Language: en,de Content-Type: text/plain; charset=us-ascii Organization: Beck GmbH Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language