aspose 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 8873
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Date Format: How to know the Date in which format