aspose file tools*
The moose likes Beginning Java and the fly likes Date format problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Date format problem" Watch "Date format problem" New topic
Author

Date format problem

sreedhar Lackka
Ranch Hand

Joined: Jul 05, 2008
Posts: 154
Hi All,
Thanks a lot in advance.
I want to print date in some predefined format without using SimpleDateFormat class. Is it possible to complete in otherway.

Regards,
Sree
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You can always do your own Date conversion coding - but I don't recoment it.


Regards, Rene Larsen
Dropbox Invite
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3169
    
  10
It will help us to avoid making unsuitable suggestions if you tell us why you don't want to use SimpleDateFormat.


Joanne
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19556
    
  16

The only reason I can imagine is an environment that does not have (Simple)DateFormat, like Java ME.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Of course why not. Just read the desired date fragments (hour, day, month etc.) and place them in appropriate order using String concatenation.


My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date format problem
 
Similar Threads
Another format check :P
Conversion of date to Arabic
<bean:write/> of struts1
is that any utility class that help compare date within start and end date ?
how to convert String into Date format