/** * Standardized date utilities for consistent date handling across the application */ /** * Get the current date/time in UTC * This ensures all dates are consistent regardless of server timezone */ export declare function now(): Date; /** * Get the current date/time as ISO string * Useful for logging and API responses */ export declare function nowISO(): string; /** * Create a date from an ISO string * Throws an error if the string is invalid */ export declare function fromISOString(isoString: string): Date; /** * Add days to a date */ export declare function addDays(date: Date, days: number): Date; /** * Add months to a date */ export declare function addMonths(date: Date, months: number): Date; /** * Add years to a date */ export declare function addYears(date: Date, years: number): Date; /** * Check if a date is in the past */ export declare function isPast(date: Date): boolean; /** * Check if a date is in the future */ export declare function isFuture(date: Date): boolean; /** * Check if a date is today */ export declare function isToday(date: Date): boolean; /** * Format date for display */ export declare function formatDate(date: Date, locale?: string): string; /** * Format date and time for display */ export declare function formatDateTime(date: Date, locale?: string): string; //# sourceMappingURL=date.d.ts.map