ftos.convert.date.toLocalDateAsString

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

Generates a string representation of a date using the server's local time naming conventions.

This is a method suitable for all business service components.

Syntax

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

Return Value

Returns a string representing the date based on server's local time formatting conventions.

Examples