Show scheduled image

i need to make something like a “Live Help” image, that depending on a day or time it will show imageA or imageB.

the site is in .net however i could use javascript it it’s better that way

any ideas? thanks

If it’s for your time, eg. when you’re available for live support, then server-side is the way to go.

Unless your server is in the same timezone/daylight savings as you, and you know it won’t relocate or change it’s settings, it should be easy enough. Otherwie you may need to use UTC and adjust to your timezone.

Doing it server-side will use the server’s time. Doing it with javascript will use the visitor’s computer time if they have javascript enabled and if their computer’s time is accurate.

Does it matter what image shows when, or only that they alternate?

yes it matters, so javascript should’t be the answer…