aspose 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 Soft Skills this week in the Jobs Discussion 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: 42913
    
  68
The java.text.SimpleDateFormat class can be used for this.
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