----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

On Wed, 1 Dec 1999, Sajida Kalsoom wrote:
>  can  any body  please tell me a very simple thing about java date on solaris when i 
>use
> 
> java.util.Date dt=new Date();
> or java.sql.Date 
> 
> it adds five/four hours in current date. I have checked system time
> zone its correct.also display date/time is correct.

Maybe you're in time zone MET, which Java interprets as Iran time
(GMT+3:30) and Solaris Central European Time (GMT+1)? I've had this
problem before.

Peter

-- 
URBAN Peter                       Mail:  [EMAIL PROTECTED]
Federal Institute of Technology   WWW:   http://lsewww.epfl.ch/urban
EPFL-DI-LSE, office INF 233       Phone: (+41 21) 693 5354
CH-1015 Lausanne, Switzerland     Fax:   (+41 21) 693 6770



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to