Hi Guys

Can someone tell me why this does not work:

<%if FormatDateTime(Time) > "21:00:00" and FormatDateTime(Time) < "06:00:00" then%>
Show image
Don't show image
<%end if%>

My page should display "Show image" between the hours of 9pm and 6am but it doesn't.

What am I doing wrong and how do I correct it? Any help would be fully appreciated.

I look forward to hearing from you

Best regards

Rod from the UK