@nestledjs/forms
Version:
A flexible React form library supporting both declarative and imperative usage patterns with TypeScript support
5 lines (4 loc) • 372 B
TypeScript
export declare function getDateFromDateTime(yourDate: string): string | null;
export declare function formatDateFromDateTime(yourDate: string, shortDate?: boolean): string | null;
export declare function getDateTimeFromValue(yourDateTime: string): string | null;
export declare function formatDateTimeFromValue(yourDateTime: string, shortFormat?: boolean): string | null;