2015-08-26 10:20 PM
2015-08-27 02:58 AM
dstr = "" ch = OPEN ("DateTime", "", "%H") !!get hours from date/time add-on n = INPUT (ch, "", "", dstr) CLOSE (ch) n = SPLIT(dstr, "%n", num) !!convert string to number if num < 6 then PRINT "Go to bed!" endifBarry.