Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Overview

Adds specified number of days to specified date time value and returns next valid date time.

DateTimeOffset Calendar.AddDays(date: DateTimeOffset, days: number)

Arguments

number days
Specifies the how many days will be added to dateTime parameter.

Example

var newDate = $Calendar.AddDays($Calendar.Today, 2); //adds 2 days to the current date and returns DateTimeOffset object.

Examples

var newDate = $Calendar.AddDays($Calendar.Today, 2); //adds 2 days to the current date and returns DateTimeOffset object.
  • No labels