Anyway to make a link appear on my Cold Fusion page at 12:00 January 8th Saturday morning and then another link showing up at 12:00 January 9th Sunday morning?
Right now I have no links on my page and want a new link to automatically show up on Saturday morning and then another one on Sunday morning.
Please advise if I am doing this correct?
Right now I have no links on my page and want a new link to automatically show up on Saturday morning and then another one on Sunday morning.
Please advise if I am doing this correct?
Code:
<cfif #DayOfYear(Now())# eq 8> <!--- 8th day of year is Saturday Jan 8th --->
<a href="http//:mylinkhere.cfm">Saturday Link</a>
</cfif>
<cfif #DayOfYear(Now())# eq 9>
<!--- 9th day of year is Sunday Jan 9th --->
<a href="http//:mylinkhere2.cfm">Sunday Link</a>
</cfif>