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 Date Format: How to know the Date in which format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Date Format: How to know the Date in which format" Watch "Date Format: How to know the Date in which format" New topic
Author

Date Format: How to know the Date in which format

Chennarao Marvatu
Greenhorn

Joined: Apr 09, 2003
Posts: 2
Hai Everybody ..I have the task in Date Format..
How can we know that the Given Date in which Format...
pls send me the source code for checking out the format for given Date

Thanks in Advance

Chennarao
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Welcome to the Java Ranch, Chennarao.
Date's are not in a particular format. They represent a point in time. To format a date, one uses other classes like java.text.DateFormat. There's a chapter in the Java Tutorial on Formatting Dates and Times that you may find instructive.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date Format: How to know the Date in which format