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

API Browser

Method

GetDay

func GetDay(date: Date) -> Result<int, InvalidDateError>

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

Projects the calendar one-based day of month from an absolute Date.

Parameters

Name Type Description
date Date Day to project.

Return value

Result<Int32, InvalidDateError>

Ok(component), or InvalidDateError outside this calendar’s range.