Open merajseraji opened 2 years ago
For validating a jalali date you can use:
Utils#(year: number, month: number, date: number[, hours: number, minutes: number, seconds: number, ms: number])
For date difference: you can get js native Date
: jalali.date
how can I validate the date via this package? for example in moment-jalali we should do this as you know: moment(value, 'jYYYY/jMM/jDD').isValid()
or
how can I get the date difference?