ftos.convert.date.toUtcDateAsString

IMPORTANT!  
Starting with v24.3.0, this is renamed from toUtcDateStr to ftos.convert.date.toUtcDateAsString.

Generates a string representation of a date using the UTC formatting conventions.

This is a method suitable for all business service components.

Syntax

function ftos.convert.date.toUtcDateAsString(inputDate: any): string
 
Parameter Description
inputDate Date object or string representing a date.

Return Value

Returns a string representing the date based on the UTC formatting conventions.

Examples