Function formatDateTimeFull

  • Formats a date to the full date and time format string 'MMM dd, yyyy hh:mm a'

    Parameters

    Returns string

    A string representing the formatted date in the full date and time format string 'MMM dd, yyyy hh:mm a'

    Example

    formatDateTimeFull(new Date());
    // => 'Jan 01, 2022 12:00 AM'

    formatDateTimeFull('2022-01-01T12:00:00Z');
    // => 'Jan 01, 2022 12:00 AM'

Generated using TypeDoc