Gets the formatting of the date-time value displayed in the control.
Namespace: MindFusion.Common.UI
File: DateTimePicker.js
SyntaxJavaScript
Copy Code
|
|---|
get format() {} |
String. The format string.
ExampleThe following code creates a new DateTimePicker using an HTML div element with an id "date_picker". The dateTimePicker advances with one day and displays the date as "2/March":
JavaScript
Copy Code
|
|---|
var u = MindFusion.Common.UI; var dateTimePicker = new ui.DateTimePicker(document.getElementById("date_picker")); |
See Also