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
Post a Comment