How to put a time based rule in a IVR?

Ho guys,
I’ve made this timebasedrule:

exten=1,1,NoOp(closed_en)
exten=1,n,GotoIfTime(10:00-19:00|mon-sun|01-31|jan-dec?voicemenu-custom-1,s,1)
exten=1,n,Goto(voicemenu-custom-2,s,1)

and I wish to call this rules from my ivr:

comment=503
alias_exten=
exten=s,1,Answer
exten=s,2,Background(dpc_intro_en)
exten=1,1,Goto(default|800|1)
exten=2,1,Goto(default|999|1)
exten=3,1,Goto(default|500|1)

my time rule is for closed office.

up