Hi there,
Well, that makes sense, doesn't it? The JavaScript has to find out the year from a source, and that source happens to be the computer's clock.
If you're using ASP, you could easily pass the year at the server to a JavaScript variable:
Code:
<script type="text/javascript">
var serverYear = <%=Year(Now())%>;
</script>
This passes the current year of the server to a JavaScript variable at the client.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.