Search
DateTime Constructor
See Also
 






Initializes a new instance of the DateTime class.

Namespace: MindFusion.Scheduling
File: DateTime.js

 Syntax

JavaScript  Copy Code

function DateTime (date)

 Parameters

date

Date. A JavaScript Date object.

 Example

The following code creates a DateTime object with the value of the present date:

JavaScript  Copy Code

var p = MindFusion.Scheduling;

var date = p.DateTime.today();

 See Also