aspose file tools*
The moose likes Beginning Java and the fly likes Convert DateTime to TimeStamp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Convert DateTime to TimeStamp" Watch "Convert DateTime to TimeStamp" New topic
Author

Convert DateTime to TimeStamp

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Hello all
how can i convert this DateTime type value 20060610000000.000000+000
to TimeStamp Value ?
Thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39828
    
  28
Don't know. A bit unfortunate that nobody has managed to do it. I did try when you first posted that question, but it didn't work. A TimeStamp needs a certain format with - and : in.
 
Consider Paul's rocket mass heater.
 
subject: Convert DateTime to TimeStamp