File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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 agree. 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-2013