File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes How to get current date in October 10, 2005. 9.30 a.m format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to get current date in October 10, 2005. 9.30 a.m format" Watch "How to get current date in October 10, 2005. 9.30 a.m format" New topic
Author

How to get current date in October 10, 2005. 9.30 a.m format

Mintoo Jaiswal
Greenhorn

Joined: Jul 22, 2005
Posts: 8
How to get current date in below format in java or jsp
October 10, 2005. 9.30 a.m
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
The java.text.SimpleDateFormat class can be used for this.


Ping & DNS - updated with new look and Ping home screen widget
Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
Hi,

A simple piece of code could be



Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get current date in October 10, 2005. 9.30 a.m format
 
Similar Threads
How to get current date in below format in java or jsp
SQL date
java dates
how to get date format like "September 8, 2005" which returns current date ?
How to print default date in required format