• Post Reply Bookmark Topic Watch Topic
  • New Topic

locale and style  RSS feed

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have date fields on my form.Depending on locale it shows date in different formats.I would like to say what format it is by looking at locale.What i mean by that is if my locale date is in 29/07/05 the i want to print dd/mm/yy on form.How do i get locale date format style?
 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

use java.text.SimpleDateFormat
bye for now
sat
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!