A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Convert DateTime to TimeStamp
Joined: Apr 27, 2006
Mar 30, 2007 07:24:00
how can i convert this DateTime type value 20060610000000.000000+000
to TimeStamp Value ?
Joined: Oct 13, 2005
Apr 03, 2007 01:44:00
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.
I agree. Here's the link:
subject: Convert DateTime to TimeStamp
MySQL JDBC Driver and Null Dates
Retrieving wrong date/time with Timestamp
Convert datetime value to EST
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015