🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

converting a String to a sql Date

#19016
From: Alex Humphreys
Date: Tue, 24 Mar 1998 00:00
7 lines
767 bytes
I have a string in the format of <March 28, 1998> which I need to
convert to a java.sql.Date (<28/03/98>).  Is there a simple way to do
this?  I'm to use the DateFormat class but just can't figure it out.
Sample code would be appreciated.  Thanks a lot.

Alex
Technical Details
Message-ID: <351801A8.6C94F7FF@sema4.com>
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: f74b3,9faad5b74817e181,start
X-Google-Attributes: gidf74b3,public
From: Alex Humphreys <ahumphreys@sema4.com>
Subject: converting a String to a sql Date
Date: 1998/03/24
Message-ID: <351801A8.6C94F7FF@sema4.com>
X-Deja-AN: 337245050
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language