A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
constructing Date objects
Joined: Feb 16, 2001
Apr 25, 2001 10:39:00
Hi, does anyone know how I can construct a Date object from a
that is in the form dd/mm/yyyy. The constructor Date(String s) has unfortunately been deprecated.
Help is much appreciated.
Joined: Jan 09, 2001
Apr 25, 2001 10:48:00
Look into the
. You can use its parse method to get string into date.
I agree. Here's the link:
subject: constructing Date objects
how to convert String into Date format
How can I get sysdate in java?
first date and last date of month
Help:java.lang.String and java.sql.Date
JDBC SQL server date format problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013