Time.Type property
- Last UpdatedSep 20, 2024
- 1 minute read
The Time.Type property is a read-write Boolean property that gets or sets the time format type of the alarm records. The following values are possible:
|
Value |
Description |
|---|---|
|
FALSE |
Default time format |
|
TRUE |
.NET time format (default) |
Syntax
result = AlarmClient.Time.Type;
AlarmClient.Time.Type = TmType;
Example
This example shows the time format in German format (day.month.year) using the default datetime type.
AlarmClient1.Time.Type = 0;
AlarmClient1.Time.Format = "%d.%m.%Y %H:%M:%S";
Remarks
For more information about the .NET time format, see Set a .NET DateTime format.
For more information about the default time format, see Set the time format.