Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

AddDays

func AddDays(days: int) -> Result<Date, InvalidDateError>

Declaring type: Date
Module: System.Time
Assembly: System.Runtime.dll
Source file: Date.rvn

Adds calendar days, returning an error outside years 1–9999.

Parameters

Name Type Description
days Int32

Return value

Result<Date, InvalidDateError>