How do i convert string or int to date format like (yyyymmdd)?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jessly_sim
Posted On:   Tuesday, June 19, 2001 01:33 AM

how do i convert string or int to date format?
e.g 20010619 (yyyymmdd)

Re: How do i convert string or int to date format like (yyyymmdd)?

Posted By:   Thomas_Dietrich  
Posted On:   Tuesday, June 19, 2001 06:43 AM

Hello jessly sim,


Might want to look into something like this(a point in the direction, not the full answer):


java.text.DateFormat formatDate = new java.text.SimpleDateFormat("yyyy-MM-dd");

formatDate.format(new java.util.Date());


Hope this helps you in the right direction.


Sincerely,


Thomas Dietrich

About | Sitemap | Contact