UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

11 lines 450 B
/** * Format the date with provided format. * Defaults to formatting the current UTC date with 'yyyymmddHHMMss' format. * * @param date Date object to format * @param format dateformat compatible format * @param utc if true, use UTC time, otherwise use local time zone * @return properly formatted date string */ export declare function formatDate(date?: Date, format?: string, utc?: boolean): string; //# sourceMappingURL=dateFormat.d.ts.map