Returns a DateTime object representing the current Date.
Namespace: MindFusion.Scheduling
Assembly: DateTime.js
JavaScript
![]() |
---|
function today () |
The DateTime object representing the current Date.
The following code creates a new item for a birthday celebration that takes the whole present day:
JavaScript
![]() |
---|
var p = MindFusion.Scheduling; var date = p.DateTime.today(); // create a new item |