Log in

View Full Version : I need a conditional based on server time, help?


wolfyman
08-19-2005, 06:18 PM
I want one link displayed during certain hours and another displayed for the rest of the day - how do I do this?

And I need it based on server time, not the surfer time :P

anyone.. I know there's a way to do this, but I can't even find the conditional tutorial rigght now. Any help would be appreciated, thanks!

merk
08-20-2005, 10:39 AM
You could try using TIMENOW, IIRC that is set based on server time.

wolfyman
08-20-2005, 06:30 PM
what I'm trying to accomplish is something like the PM notification here - how it flashes - but I want it done based on time.

For my arcade - I have it open during certain hours only - so I want the arcade link to flash when it's open.

Any ideas?

Boofo
08-20-2005, 06:52 PM
You could try using TIMENOW, IIRC that is set based on server time.

I could have used you a few days ago with my World Times product. ;)

merk
08-21-2005, 06:00 AM
what I'm trying to accomplish is something like the PM notification here - how it flashes - but I want it done based on time.

For my arcade - I have it open during certain hours only - so I want the arcade link to flash when it's open.

Any ideas?

Use the same logic you're using on the arcade files to turn access off.

Hiding the link wont help.

I could have used you a few days ago with my World Times product. ;)

Im flattered :P

wolfyman
08-21-2005, 06:07 AM
Hiding the link wont help.


The only way I can think


that's a thought - I'd rather use a conditional, though. Do you know how I would go about doing that?

merk
08-21-2005, 06:16 AM
I could work it out (I am no good with date functions), but the best way to learn is work it out yourself :)

Using a conditional will not stop people who already know the URL from using the arcade, you will need to also need to modify the arcade with the same logic to disable it during certain times.