Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JDBC and Relational Databases
how i can create a TimeStamp from a number like: 1183450890250, or how insert it ?
raminaa niilian
Ranch Hand
Posts: 551
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
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();
Thanks
Jan Cumps
Bartender
Posts: 2661
19
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I use
PreparedStatement.setTimeStamp([I]columnIndex[/I], new java.sql.Timestamp(new java.util.Date().getTime()));
Regards, Jan
OCUP UML fundamental and ITIL foundation
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Timestamp in GMT and the difference
timestamp with microseconds
Syslog collection
query working in sqldeveloper and not from java jdbc
xsd question
More...