DTHour
Function - Get the hours from the time stamp.
Inputs
Input |
Data Type |
Range | Unit | Default |
Description |
---|---|---|---|---|---|
Time |
DINT |
0 to 86,399,999 |
Milliseconds |
No default |
The number of milliseconds that have passed since midnight. This value is typically retrieved from DTCurTime. |
Outputs
Output |
Data Type |
Range | Unit |
Description |
---|---|---|---|---|
Q |
DINT |
0 to 23 |
Hours |
Hours of the time. |
Remarks
None
FBD Language Example
Not available.
FFLD Language Example
Not available.
IL Language Example
Not available.
ST Language Example
Q := DTHour (iTime);
See Also