Search
DateTime.getYear Method
See Also
 






Returns the year component of the specified DateTime.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function getYear (date)

 Parameters

date

DateTime. A DateTime instance.

 Return Value

Number. The year.

 See Also