LocalDate.ToEpochDay Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets this date as a day count relative to 1970-01-01.
[Android.Runtime.Register("toEpochDay", "()J", "", ApiSince=26)]
public long ToEpochDay();
[<Android.Runtime.Register("toEpochDay", "()J", "", ApiSince=26)>]
abstract member ToEpochDay : unit -> int64
override this.ToEpochDay : unit -> int64
Returns
Zero for 1970-01-01, a negative count for earlier dates, or a positive count for later dates.
Implements
- Attributes
Remarks
The count uses the ISO calendar and changes by one for each calendar day. No time zone is used.