I’m trying to program my bot to respond to questions about hours of operation. I have a table with dates and the hours of operation:
table: hours (^today ^hrs)
DATA:
"5 23 2012" "open from 8:00 am until 8:00 pm"
"5 24 2012" "open from 8:00 am until 8:00 pm"
"5 25 2012" "open from 8:00 am until 1:00 pm"
"5 26 2012" closed
"5 27 2012" closed
etc. etc.
but am stuck on how to create the first argument. I tried:
table: hours (^datecheck ^hrs)
$datecheck = ^createfact(%month