CTime

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

CTime


 

Converts a value to a time type.

 


Syntax 1

CTime(

         val

         )

 


Parameters

 

val

 

Type:

General purpose

 

The value to convert.

 

Return Value

 

 

Type:

time

 

The converted value.

 

 


Syntax 2

CTime(

         year,

         month,

         day,

         hour,

         minute,

         second

         [,ms = 0]

         )

 


Parameters

 

year

 

Type:

Number

 

year.

 

month

 

Type:

Number

 

month.

 

day

 

Type:

Number

 

day.

 

hour

 

Type:

Number

 

time.

 

minute

 

Type:

Number

 

minutes.

 

second

 

Type:

Number

 

Seconds.

 

ms

 

Type:

Number

 

Millisec.

 

Return Value

 

 

Type:

time

 

The converted value.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation Expression Syntax

 

 


reference