GetYear

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetYear


 

Get the year from the date and time.

 


syntax

GetYear(

         time

         [,timeZone]

         )

 


Parameters

 

time

 

Type:

time

 

Date and time.

 

timeZone

 

Type:

character

 

Time zone.

 

Return Value

 

 

Type:

Number

 

The year, or -1 on failure.

 


hmtoggle_plus1Explanation

 


Supported


Script Action

Browser script

Calculation formula syntax

 

 


reference