UNPKG

450 BTypeScriptView Raw
1/**
2 * Format the date with provided format.
3 * Defaults to formatting the current UTC date with 'yyyymmddHHMMss' format.
4 *
5 * @param date Date object to format
6 * @param format dateformat compatible format
7 * @param utc if true, use UTC time, otherwise use local time zone
8 * @return properly formatted date string
9 */
10export declare function formatDate(date?: Date, format?: string, utc?: boolean): string;
11//# sourceMappingURL=dateFormat.d.ts.map
\No newline at end of file