CustomEpoch
The epoch, in Unix milliseconds, that timestamps are measured from.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: Unity.Localization
- Assembly: UnityEngine.LocalizationRuntimeModule
public long CustomEpoch { get; }
Remarks
Defaults to 2020-01-01T00:00:00Z, which every generator built by the default constructor shares. The 41-bit timestamp covers 69 years from the epoch. A generator restored from a saved SharedTableData always measures from the default epoch, so an epoch passed to the constructor lasts only for the life of that instance.