Hello Dojo,
I am adding a DateTime column as a custom alarm property value. The parameter is of type double, filled with an OADate, and the DateTime option. But when the alarm property is filled, the raw value, the decimal, is shown and not the DateTime. Is there a way to have DataMiner parse the value to a readable DateTime for the alarm property the same way it is done for the parameter?
Hi Gabriel,
This is currently not supported. All properties are text-based in the background.
As a workaround, you could use a fixed string format to display the DateTime, but this will have the disadvantage that the displayed time might not match the timezone if you are using this on a DMS where the agents are spread over multiple timezones.
The round-trip date/time or RFC1123 patterns can be a solution for that (in C# you can do this by using DateTime.ToString("o") or DateTime.ToString("r")), but this format can be hard to read for human users who are not familiar with it.