Validity: Rule, Task
Real parameter containing the number of days passed since January 1, 2000 (inclusive). The fractional component represents the elapsed time as a percentage since midnight.
The parameter uses data from the RTC present on the control.
Syntax |
REAL df2000 |
---|---|
Attributes |
Read only |
Example
If(df2000 > 1000) ; 1000 days have passed since the 1st Jan 2000! ; ------------------ real appo real days real time
appo = df2000(df2000) days = trunc(appo) time = fract(appo) * 24 ; ------------------ xxx.25 –> 6.00am xx.5 –> 12.00am xx.66 –> 4.00pm (16.00)) |