Method
ToInstant
func ToInstant(local: LocalDateTime) -> Instant
Declaring type: TimeOffset
Module: System.Time
Assembly: System.Runtime.dll
Source file: TimeOffset.rvn
Converts civil fields using this fixed offset.
Parameters
| Name | Type | Description |
|---|---|---|
local |
LocalDateTime | Valid Date and Time fields. |
Return value
The unique Instant; all supported civil inputs fit its range.