File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
How to convert now date to Timestamp ??
majid nakit
Ranch Hand
Joined: Jun 26, 2001
Posts: 160
posted
Oct 12, 2007 10:40:00
0
Hi,
can you please tell me how to convert the current date (now) to Timestamp ?
thanks
your help is appreciated
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35237
7
posted
Oct 12, 2007 10:44:00
0
Try "new
java.sql.Timestamp
(System.currentTimeMillis())"
Android apps
–
ImageJ plugins
–
Java web charts
I agree. Here's the link:
http://zeroturnaround.com/jrebel
subject: How to convert now date to Timestamp ??
Similar Threads
add 10 days to currentDate in java.util.Date or cast to Calendar?
How do i convert a Date object into a Timestamp object ?
How to convert timeStamp into corresponding date.
How do i convert a Date object into a TimeStamp object
How do i convert a Date object into a Timestamp object ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter