This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Date object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Date object" Watch "Date object" New topic
Author

Date object

Rohit Saxena
Greenhorn

Joined: Apr 06, 2007
Posts: 1
How do represent
Sat Jan 01 00:00:00 CST 1
as a Date?
Sridhar Santhanakrishnan
Ranch Hand

Joined: Mar 20, 2007
Posts: 317
Do you want it to be parsed into a Date object? If so, just find what the format is and use SimpleDateFormat.parse()
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38075
    
  22
And welcome to the Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date object
 
Similar Threads
Date 01/01/1970 returning non-zero value for time
Unable to fetch records by using 'where' clause for a date type field in sql
DateFormat Error
unable to retrieve timestamp in my servlet
convert timestamp to double