DatePickerFormatString
- Last UpdatedNov 17, 2021
- 1 minute read
The DatePickerFormatString property is a read-write property that gets or sets the format string for the time range picker.
Syntax
aaHistClientTrend.DatePickerFormatString = message;
Result = aaHistClientTrend.DatePickerFormatString;
Remarks
This value is determined from the regional settings for the operating system.
For example, the time setting might be:
hh:mm:ss tt
where:
hh = hour, with a leading zero
mm = minute, with a leading zero
ss = second, with a leading zero
tt = AM or PM
For more information, see the regional settings options in Control Panel.
This property only changes the format for the time range picker; it does not change the system-wide value.
The default format is M/d/yyyy h:mm:ss tt.