Gets the date of this view.
Namespace: MindFusion.Common.UI
File: DateTimeView.js
SyntaxJavaScript
Copy Code
|
|---|
get date() {} |
Date. A JavaScript Date instance.
ExampleThe following code checks if the month of the Date of a dateTimeView is december.
JavaScript
Copy Code
|
|---|
| if(dateTimeView.date.getMonth() == 11) { //do something } |
See Also