Hi i am using an date picker on selecting a date the date is displayed in this format
month/date/year ….
How to convert the date to this format year-month-date in date picker js itself
Hi i am using an date picker on selecting a date the date is
Share
Date.firstDayOfWeek = 0;
Date.format = ‘yyyy-mm-dd’;
$(function()
{
$(‘.date-pick’).datePicker()
});