Local Day Time in format DINT

Local Day Time in format DINT

Hello,
The function Day_Time_local only offers STRING output. Is it possible to get a DINT value output?

In order to get a DINT value output (milliseconds since midnight) you can use the following ST code:



This is a migrated post! Originally posted on 12.10.2007 by user markusw. Please be aware that information can be outdated.