Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript error Shop Open and Close Times script Re: error Shop Open and Close Times script

#78981
UFNITE
Member

Monday: CLOSED
Tuesday: 9AM – 5:30PM
Wednesday: 9AM – 5:30PM
Thursday: 9AM – 5:30PM
Friday: 12PM – 8PM
Saturday: 8AM – 2PM
Sunday: CLOSED

Say i tried to have

t_day 3 (tuesday) t_hour == 9 (is that pm or am?)

how would i specific a closing t_hour to be 5:30PM?

and if its any later than that how would it display the closed if statement… a greater than sign?

Thanks.