MindFusion.Scheduling for JavaScript Programmer's Guide
DateTime Constructor
See Also
 






Initializes a new instance of the DateTime class.

Namespace: MindFusion.Scheduling
Assembly: 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

DateTime Class
MindFusion.Scheduling Namespace