Oct 9, 2005 #1 patnim17 Programmer Jun 19, 2005 111 US Hi, I have a String variable in java that cointains a valid date but is not in a format that I want (ie. mm/dd/yyyy)? How do I got about converting it..to get the date in this format (mm/dd/yyyy) . I need the out put in String data type. pat
Hi, I have a String variable in java that cointains a valid date but is not in a format that I want (ie. mm/dd/yyyy)? How do I got about converting it..to get the date in this format (mm/dd/yyyy) . I need the out put in String data type. pat
Oct 9, 2005 #2 sedj Programmer Aug 6, 2002 5,610 See the class java.text.SimpleDateFormat - this question has been asked many times on this forum - have a search around or a google. -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
See the class java.text.SimpleDateFormat - this question has been asked many times on this forum - have a search around or a google. -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk