CLocaleToTime (LT)

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

CLocaleToTime (LT)


 

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

 


syntax

CLocaleToTime(

         string

         [,format]

         [,timeZone]

         )

 


Parameters

 

time

 

Type:

character

 

Date and time string. Example: "2016/01/01 12:33:44"

 

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:

time

 

Returns the converted date and time in time format (if conversion is not possible, returns #N/A#).

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference