PDA

View Full Version : Help with Date Change inside .ssi



dpsource
02-27-2008, 01:52 PM
Hi there!

I need help, im using a .ssi wich uses the Legal of a webpage.

...<p class="small">IBM Venezuela. Edf. IBM, Avenida Ernesto Blohm, Chuao, Caracas, Venezuela.</p>

<p class="small">Todos los derechos reservados. Copyright IBM Corporation, 2006.</p>...

Basicly, i need a script that shows the current year... Client Side.
Is there anyway?

Thanks!

dpsource
02-27-2008, 04:32 PM
Well... just fixed, i think theres nothing more simply...

If anyone cares... heres how i did it.

<p class="small">Todos los derechos reservados. Copyright IBM Corporation,
<script type="text/javascript">
<!--
var currentTime = new Date()
var year = currentTime.getFullYear()
document.write(year)
//-->
</script>.</p>