I have a string : 30/09/2010 and I'd like have 09/30/2010 hiw can I do this useing jQuery ?
Thanks,
I have a string : 30/09/2010 and I'd like have 09/30/2010 hiw can I do this useing jQuery ?
Thanks,
There is a jquery datapicker at http://jqueryui.com/demos/datepicker/
It has a few static methods that may be of use to you, and would allow you to do something like:
var dstr = $.datepicker.formatDate('mm/dd/yy',
$.datepicker.parseDate('dd/mm/yy', '30/09/2010'));
Actually not a jquery solution but datejs is a great framework for handling dates in javascript.