Initializes a new instance of the DateTime class.
Namespace: MindFusion.Scheduling
File: DateTime.js
SyntaxJavaScript
Copy Code
|
|---|
function DateTime ([date]) |
Date. A JavaScript Date object.
ExampleThe 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