I think the enhanced versions supports the T[now] item.
Run this as a test in your editor
If enhanced supports this you can then work out your open and close time in minutes or seconds depending on the resolution you require.
Then its a simple test.
If TimeNow > OpenTime && TimeNow < CloseTime
// we are open
else
// We are closed
Please rate helpful posts.
Graham