Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

change date format

 
Dharmender Singh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how we can change the format of the date as in MySql the date format is yyyy-MM-dd
 
Srivatsa Katta
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Have a look @ java.text.SimpleDateFormat API for all date format related things.

Regards,
Srivatsa Katta
 
mohit bahl
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

you can check this post here

this might solve your query.

cheers!
mohit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic