var pickdate_get = date.toInputFormat();
var pick_date_frmt =$.datepicker.formatDate( "M/dd/yy", new Date(pickdate_get));
$(".package_pickup_date").text(pick_date_frmt);
Output:: Jan/17/2020
var pick_date_frmt =$.datepicker.formatDate( "M/dd/yy", new Date(pickdate_get));
$(".package_pickup_date").text(pick_date_frmt);
Output:: Jan/17/2020
No comments:
Post a Comment