• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date object

 
Rohit Saxena
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do represent
Sat Jan 01 00:00:00 CST 1
as a Date?
 
Sridhar Santhanakrishnan
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 48938
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic