dateToParts | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/hscompatdateToPartsFunction dateToPartsdateToParts(date: ValidDateTimeSources): { days: number; msecs: number }Convert a date to msecs/days since the HareScript epoch (1-1-0001), ie the 'DATETIME parts' Parametersdate: ValidDateTimeSourcesThe date to convert Returns { days: number; msecs: number } The number of days and milliseconds since the January 1st 0001 assuming a Gregorian calendar since that epoch SettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Convert a date to msecs/days since the HareScript epoch (1-1-0001), ie the 'DATETIME parts'