I want to create an if statement based on time like this:
<% if time<10 then
response.write variable
end if %>
How would I write 5 pm? Or any other time for that reason? Would I have to convert the time to decimals? Like 10:26 is 10.46667? That doesn't really make sense to me.
I've looked through FAQ and can't seem to find anything about this.
Thanks a lot,
ivo "If it's stupid but works, it isn't stupid."
<% if time<10 then
response.write variable
end if %>
How would I write 5 pm? Or any other time for that reason? Would I have to convert the time to decimals? Like 10:26 is 10.46667? That doesn't really make sense to me.
I've looked through FAQ and can't seem to find anything about this.
Thanks a lot,
ivo "If it's stupid but works, it isn't stupid."