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

Scheduler endDate property

Asked by Karin
3 years 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]
3 years 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:

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.