Search
DateFormats Constructor
See Also
 






Initializes a new instance of the DateFormats class.

Namespace: MindFusion.Common
File: Locale.js

 Syntax

JavaScript  Copy Code

function DateFormats ()

 Example

The following code creates a new instance of the DateFormats class and assigns a custom shortTime format to it.

JavaScript  Copy Code

var m = MindFusion.Scheduling;

var dateFormats = new m.DateFormats();
dateFormats.shortTime = "hh:mm";

 See Also