🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Anybody know How to set system time with Java

#1957
From: Nabin Thomas
Date: Fri, 20 Jul 2001 15:07
24 lines
1547 bytes
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: <3B58493B.A1651975@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a69b16883adc0d4e,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-07-20 08:11:45 PST
Message-ID: <3B58493B.A1651975@hotmail.com>
Date: Fri, 20 Jul 2001 20:37:39 +0530
From: Nabin Thomas <nabinthomas@hotmail.com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api
Subject: Anybody know How to set system time with Java
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 202.86.154.179
X-Trace: dnews 995641663 202.86.154.179 (20 Jul 2001 08:07:43 -0700)
Lines: 24
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews