CTimeToLocale (TL)

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

CTimeToLocale (TL)


 

Converts a time type to a locale-appropriate date and time string.

 


syntax

CTimeToLocale(

         time

         [,format]

         [,timeZone]

         )

 


Parameters

 

time

 

Type:

time

 

Date and time.

 

format

 

Type:

character

 

Date and time format name. If omitted, it will behave the same as if "@LOCALE" (regional format (auto-switching)) was specified.

 

timeZone

 

Type:

character

 

Time zone. If omitted, the time zone will be set according to the OS settings.

 

Return Value

 

 

Type:

character

 

The converted formatted date and time string.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference