A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Today (12/10) is CodeRanch Day in
Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
Joined: Nov 30, 2008
Dec 04, 2008 22:18:00
I want to create a new date(
) with a previous date(Ex :Jan 01 2007), how to create the Date object with a past date.
Joined: Feb 19, 2008
Dec 04, 2008 22:35:00
Welcome to JavaRanch !!
Can you elaborate your problem , Do you want to say , you have an Date object with some old date and you want to make it as toady's date object ??
If yes, then Look out the
class, Calender# getTime(), will helps !!
[Freelance Web Designer]
[and "Rohan" is part of my surname]
Joined: Oct 13, 2005
Dec 05, 2008 01:44:00
don't ask the same question twice
subject: Date Query
Question on Creation of a Date Object
Converting Date Into Milliseconds?
Create Date Object with a past date
Prepared statement's 'setDate' method
Folder and file attributes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013