java - change the display of a JXDATEPICKER -


i used jxdatepicker in jframe. but, date appears in following form: ven.15/10/2014

i want date appears in following format: yyyy-mm-dd thanks.

you can use simpledateformat this:

simpledateformat sf= new simpledateformat( "yyyy-mm-dd" ); res = sf.format(mydate); 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -