Hello
I have a sql Date with the format yyyy-MM-dd. To show the birthday date of a
staff in JTextField, I did as
birthdayTextField.setText(staff.getBirthdayDate().toString); //I can get
1979-12-15
However, I want to display the date with the format of dd/MM/yyyy // such
as 15/12/1979
It can be seen that I can use a normal way: get the last four numbers and
put in front.... and so on.
Any suggestion for a faster way to do this converter?
Thanks
S.Hoa
Andrew Thompson - 22 Aug 2005 03:08 GMT
(format dates)
> Any suggestion for a faster way to do this converter?
java.text.DateFormat
HTH

Signature
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"If no one out there understands, start your own revolution and cut out the
middle man."
Billy Bragg 'Waiting For The Great Leap Forward'