$(document).ready(function () { ShowCalender(); }); function ShowCalender() { var calendar = $.calendars.instance('islamic'); $('[id$=TxtOrderDate]').calendarsPicker({ calendar: calendar, onClose: function (dates) { var expiryDate = new Date(dates); var x = 60; expiryDate.setDate(expiryDate.getDate() + x); document.getElementById('<%=TxtExpirationDate.ClientID%>').value = expiryDate; }, showTrigger: '<img src="../../../_layouts/15/1033/Saudia/Images/calender.png" alt="Popup" class="trigger img">' }); }
but here the ExpireDate fill with Date Sun Apr 24 03:00:00 UTC+0300 1436,which is a gregorian date. expiredate mustbe the islamic Date. How to add specific number of Days in FromDate? Please help.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)