Click to See Complete Forum and Search --> : how to manupulate dates


davidchew
May 2nd, 2000, 10:31 AM
How do I convert a date like 14/03/1974 23hr 10minutes 23 secs as a java date, so
that java can recognised it. And then How do I subtract current date() from that date above
so that I can get the exact difference in seconds.

poochi
May 2nd, 2000, 04:18 PM
> How do I convert a date like 14/03/1974 23hr 10minutes 23

What do you mean by "date like 14/03/1974 23hr 10minutes 23" ? Is it a String ?If that's the case , You can use SimpleDateFormat Class