• Post Reply Bookmark Topic Watch Topic
  • New Topic

Date format problem  RSS feed

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can always do your own Date conversion coding - but I don't recoment it.
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It will help us to avoid making unsuitable suggestions if you tell us why you don't want to use SimpleDateFormat.
 
Sheriff
Posts: 21288
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only reason I can imagine is an environment that does not have (Simple)DateFormat, like Java ME.
 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course why not. Just read the desired date fragments (hour, day, month etc.) and place them in appropriate order using String concatenation.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!