File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes how do i get system date in java http servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how do i get system date in java http servlets" Watch "how do i get system date in java http servlets" New topic
Author

how do i get system date in java http servlets

Bhasker Reddy
Ranch Hand

Joined: Jun 13, 2000
Posts: 176
How do i find system date in java servlets.
and convert it into
02-OCT-01 FORMAT
CAN ANYONE SUGGEST ME SOMETHING


Bhasker Reddy
shilpa kulkarni
Ranch Hand

Joined: Jun 07, 2000
Posts: 87
if you want to insert it into database use -
java.sql.Date d = new java.sql.Date(System.currentTimeMillis())
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
see http://www.javaranch.com/ubb/Forum7/HTML/006264.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do i get system date in java http servlets