Hi,
I used the formatter example in your article but I always get "Jan" as a month for any month. The day and year are coming out correct. Please let me know what is wrong in here.
date date = sdfSource.parse(lastLogDt);
formatter = new SimpleDateFormat("dd-MMM-yy");
strDate = formatter.format(date);
Thanks
Sankar
thanksliterate April 10, 2012 at 12:59 PM
thanks a lot keep the good work up
Date format in javasankar mukherjee September 20, 2012 at 6:17 PM
Hi, I used the formatter example in your article but I always get "Jan" as a month for any month. The day and year are coming out correct. Please let me know what is wrong in here. date date = sdfSource.parse(lastLogDt); formatter = new SimpleDateFormat("dd-MMM-yy"); strDate = formatter.format(date); Thanks Sankar
Post your Comment