Search
DateTimeView.date Property
See Also
 






Gets the date of this view.

Namespace: MindFusion.Common.UI
File: DateTimeView.js

 Syntax

JavaScript  Copy Code

get date() {}

 Property Value

Date. A JavaScript Date instance.

 Example

The 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