This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    7

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date Format: How to know the Date in which format
 
Similar Threads
How to Reformat a date string
Converting string to specific date format
Number of days between the 2 given dates.
how to change the date,Time format after accessing it from the database
Date Format