This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
JDBC and Relational Databases
how i can create a TimeStamp from a number like: 1183450890250, or how insert it ?
Joined: Jul 14, 2005
Jul 03, 2007 05:44:00
Thank you for reading my post
Can some one please let me know how i can create a timestamp object from a number like that?
or better to ask how i can insert this number to a timestamp field in the database.
this number is created using Date().getTime();
Joined: Dec 20, 2006
Jul 03, 2007 07:30:00
PreparedStatement.setTimeStamp([I]columnIndex[/I], new java.sql.Timestamp(new java.util.Date().getTime()));
OCUP UML fundamental and ITIL foundation
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how i can create a TimeStamp from a number like: 1183450890250, or how insert it ?
Timestamp in GMT and the difference
timestamp with microseconds
query working in sqldeveloper and not from java jdbc
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015