Gets the month component of the date represented by this DateTime instance.
Namespace: MindFusion.Scheduling
Assembly: DateTime.js
SyntaxJavaScript
Copy Code
|
|---|
get month() {} |
Number. An integer that represents the month, values range from 1 to 12.
ExampleThe following code creates a date from the date parts of a date instance, which is read from an array with JSON instances:
JavaScript
Copy Code
|
|---|
var p = MindFusion.Scheduling; var date = p.DateTime.fromDateString(data[i].date); |
See Also