This little function comes in handy. There's nothing worse than seeing a site with a copyright out of date.
<%
Function DynamicCopyrightYear(YearSiteCreated)
If Year(Now) > YearSiteCreated Then
DynamicCopyrightYear = YearSiteCreated & "-" & Year(Now)
Else
DynamicCopyrightYear = YearSiteCreated
End If
End Function
%>
Copyright © <%= DynamicCopyrightYear(2000) %>. All
rights reserved.
Output: Copyright © 2000-2012. All rights reserved.
Get the best asp hosting provider from web-hosting-top.com and save up to 30%
Plug and play ASP membership script that integrates with PayPal to let you charge recurring membership fees.
