$("#enddate1").ligerDateEditor({ format: 'yyyyMMdd' }); $("#enddate1").ligerDateEditor({ format: 'yyyy-MM-dd' });