search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler endDate property

Asked by Karin
13 days ago.

Hi, in scheduler only have startDate and Days this 2 property.

But I only have starting Date and ending Date, is that any endDate property can use or have any build in function can calculated the different days?


Answer posted by Dan Letecky [DayPilot]
13 days ago.

You can calculate the number of days between two days like this:

var days = new DayPilot.Duration("2020-01-01", "2020-01-05").days();

See also:

New Reply
This reply is
Your name (optional):