🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1958

Re: Anybody know How to set system time with Java

#1958
From: David Orriss Jr
Date: Fri, 20 Jul 2001 17:02
39 lines
2057 bytes
Last I checked you'd have to access native API's for the OS'es you're
deploying via the JNI.

--

David Orriss Jr. *TeamB*
http://www.davenet.net/
* Please limit all responses to the newsgroups. Thanks! *
Got a JBuilder website? Join the JBuilder Webring! Check out
http://www.davenet.net/jbwebring/jbwebring.htm for more information!



"Nabin Thomas" <nabinthomas@hotmail.com> wrote in message
news:3B58493B.A1651975@hotmail.com...
> I need to set the system time from my program. Is there a way to do that
> ( not with Runtime.exec(). I need a Java way.. A sample snippet will be
> of great help
>
> Thanx in advance.
>
> --
>
>         ***********************************
> ***************************************************
> ******************* Web Card **********************
> ***************************************************
>
> Name :   Nabin Thomas
>
> e-mail :   nabinthomas@hotmail.com
>
> Web :   http://nabin.topcities.com
>
> Feel free to contact me thru e-mail or MSN Mssenger
> if required but DONOT SPAM
>
> ***************************************************
>  ***********************************
Technical Details
Message-ID: <3b58642a_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3B58493B.A1651975@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a69b16883adc0d4e
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-07-20 10:10:49 PST
Reply-To: "David Orriss Jr" <jbuilder_man@yahoo.com>
From: "David Orriss Jr" <jbuilder_man@yahoo.com>
Newsgroups: borland.public.jbuilder.java.api
References: <3B58493B.A1651975@hotmail.com>
Subject: Re: Anybody know How to set system time with Java
Date: Fri, 20 Jul 2001 10:02:27 -0700
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 216.202.63.158
Message-ID: <3b58642a_1@dnews>
X-Trace: dnews 995648554 216.202.63.158 (20 Jul 2001 10:02:34 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews