UNPKG

@tracked/health

Version:
17 lines 501 B
/** * Date utility functions for health data */ /** * Get today's date in the user's timezone as YYYY-MM-DD */ export declare function getTodayInUserTimezone(): string; /** * Get the start and end timestamps for a given date string * @param dateString - Date in YYYY-MM-DD format * @returns Object with startTime and endTime in milliseconds */ export declare function getDayBoundsMs(dateString: string): { startTime: number; endTime: number; }; //# sourceMappingURL=date-utils.d.ts.map