3/8/2011 7:13 PM | |
Posts: 14 Rating: (0) |
Hi I am trying to check online value for a date and time parameter in a variable table but it is gray.What can I do to check the value in the table. Thank you |
3/11/2011 8:44 AM | |
Joined: 1/28/2009 Last visit: 9/9/2024 Posts: 6849 Rating: (1365) |
Check the following link for some useful hints: Handling Time of Day!This is a simple method of how to break the informationin DATE AND TIME to useful components. [code] CALL "READ_CLK" RET_VAL:=MW0 CDT :=#test //TEMP DATE AND TIME CALL "DT_DATE" IN :=#test RET_VAL:=MW4 //DATE CALL "DT_TOD" IN :=#test RET_VAL:=MD8 // TIME OF DAY CALL "DT_DAY" IN :=#test RET_VAL:=MW12 //WEEK DAY, A NUMBER[/code] BR |
This contribution was helpful to1 thankful Users |
Follow us on