🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Formating of Dates in Military Time

#2484
From: Matt Connors
Date: Tue, 14 Nov 2000 00:00
10 lines
764 bytes
Hi,

I have a java.util.Date object and would like to format it in Military time
(24 hour format) for string output. I figured I'd use the DateFormat object
but it doesn't seem to produce a string  in 24 hour format. Can anyone out
there help me ? An example would be very usefull.

Thanks,

Matt
Technical Details
Message-ID: <3a116172$1_1@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,5ae111b47b541898,start
X-Google-Attributes: gid1089d0,public
From: "Matt Connors" <connorsm@broadbandoffice.com>
Subject: Formating of Dates in Military Time
Date: 2000/11/14
Message-ID: <3a116172$1_1@dnews>
X-Deja-AN: 693520149
X-Trace: 14 Nov 2000 07:59:46 -0800, 64.47.92.108
Newsgroups: borland.public.jbuilder.java.api
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700