🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8438

Re: GregrianCalendar and current date

#8438
From: Torsten Welches
Date: Mon, 19 Mar 2001 14:09
16 lines
1281 bytes
Jacques,

that would be "cal.setTime(new Date());"

Torsten

<icsd.jt@wanadoo.fr> wrote:
>Hello
>what is the best method (not deprecated) for
>recover the current date ?
>If a date is type by the user I know how set the
>month the year... (thanks to Torsten) but I want
>to set the date to the current Date and I have
>not find how.
>Thank for help, Jacques
Technical Details
Message-ID: <3ab6130f_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!207.105.83.65
References: <3ab5e0c7$1_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a819b5a45439911b
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-23 03:58:06 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: GregrianCalendar and current date
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 193.158.55.74 193.158.55.74    
References:  <3ab5e0c7$1_1@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ab6130f_2@dnews>
Date: 19 Mar 2001 06:09:19 -0800
X-Trace: 19 Mar 2001 06:09:19 -0800, 207.105.83.65
Lines: 17
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!207.105.83.65