10-31-2012 09:16 PM
i need help in displaying greetings
"good morning"
"good afternoon"
"good evening"
i've attached my program so far for displaying real-time
Solved! Go to Solution.
10-31-2012 09:27 PM - edited 10-31-2012 09:28 PM
Using the hour out of the timestamp to drive a case structure.
10-31-2012 10:39 PM
What are your values for the case selector labelin the case structure?
10-31-2012 11:03 PM
It's a snippet. So you can drag that image into your block diagram and have the actual code.
But it is 0 to 11 "0..11" (midnight to noon)
12 to 17 (noon to 6 pm)
and Default (thus 6 pm to midnight)
This takes advantage of the fact that 11:59:59 am is still in the 11th hour and 5:59:59 pm is still in the 17th hour.