• Formats a Date using the specified FormatName. Note the similarity to the formatUsingPattern function. This function is a convenient wrapper around formatUsingPattern that provides the ability to format based on FormatName. Both functions format the date based on the format pattern, it is simply a choice of whether to use the FormatName or FormatPattern. Which function is more appropriate to use depends on the use case.

    Returns

    The formatted string.

    Parameters

    Returns string

Generated using TypeDoc