@storm-stack/date-time
Version:
This package includes a DateTime class, various utility functions for working with dates and times, and a number of formatting options.
10 lines (9 loc) • 332 B
TypeScript
import type { StormDateTime } from "../storm-date-time";
/**
* Format a date time field into ISO format
*
* @param dateTime - The date time to format
* @param options - The options to use
* @returns The formatted date time
*/
export declare const formatDateTimeISO: (dateTime?: StormDateTime | null, options?: any) => string;