I assume that's european date format  (day/month)

also, Europe observes daylight savings time a couple weeks earlier than
America...  hence the hour difference comes in late march instead of early
april...


----- Original Message -----
From: "Mark Galbreath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 2:41 PM
Subject: Re: Cheking the Date every Day


What is "11/02 to 17/02?"

-mark

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's
Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On
Behalf Of Paulo
Farah
Sent: Thursday, January 04, 2001 1:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Cheking the Date every Day


I�m having a problem with Dates,

In a period of 11/02 to 17/02, it adds 1 hour to the hour
that I pick from
the system.

I imagine that is because of Day Light Savings, but I
couldn�t fix it,
anyone can help me, please?

Paulo Farah


-----Original Message-----
From: Rajinder Pal Singh [mailto:[EMAIL PROTECTED]]
Sent: Quinta-feira, 4 de Janeiro de 2001 15:38
To: [EMAIL PROTECTED]
Subject: Re: Cheking the Date every Day


import java.util.Calendar;

class CalendarDateDemo {
  public static void main(String args[]) {

  int day;
  int month;
  int year;

    year = calendar.get(Calendar.YEAR);
    month = calendar.get(Calendar.MONTH)+1;
    day   = calendar.get(Calendar.DAY_OF_MONTH);
  }
}

  This will display the moth day and year.
You can use the propertiy file concept and save the Time
zone there.
Read the appropriate time zone and get the date.
By default it will pick you current time zone.

See the documentation for above used API and you can get the
TIME ZONE too.

Rajendra Pal Singh
Incredible Solutions Inc.

>From: Andr�s Wagner <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun
Microsystem's Java
>        Servlet API Technology."
<[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Cheking the Date every Day
>Date: Thu, 4 Jan 2001 15:23:46 -0300
>
>Hi, anyone knows how to make a servlet that chek the date
every day?
>Should I use Threads to do this?
>And another question, when I make a GregorianCalendar and i
set a
>specific TimeZone it remains as the default one.
>
>Thanks!
>--
>__________________________________
>Andr�s Wagner Acu�a
>Estudiante Ing. Civil Industrial
>Universidad Adolfo Iba�ez
>
>ICQ: 39542425
>__________________________________
>
>"Programing today is a race between software engineers
striving to
>build bigger and better idiot-proof programs, and the
universe trying
>to produce bigger and better idiots...
>                                ...So far the universe is
winning".
>
>-Rich Cook
>
>___________________________________________________________
________________
>To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives:
http://archives.java.sun.com/archives/servlet-interest.html
>Resources:
http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

____________________________________________________________
_____
Get your FREE download of MSN Explorer at
http://explorer.msn.com

____________________________________________________________
_______________
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body
of the message "signoff SERVLET-INTEREST".

Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

____________________________________________________________
_______________
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body
of the message "signoff SERVLET-INTEREST".

Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to