PDA

View Full Version : Help get Server-Side Year



dpsource
02-27-2008, 06:13 PM
I nee to get the server year using Javascript.
Is it possible?

Thanks!

thetestingsite
02-27-2008, 06:23 PM
Not with javascript alone. You would need a server side language such as PHP, ASP, SSI, etc.

Hope this helps.

dpsource
02-27-2008, 06:35 PM
Can't use, neither PHP or ASP...
I did try it with ssi

<!--#config timefmt="%Y" -->
<p class="small">Todos los derechos reservados. Copyright IBM Corporation, <!--#echo var="DATE_LOCAL" -->.</p>

This works if i insert the code directly inside the HTML.
The thing is... i need all that code, to be inside a ssi.

Is is possible?

Thanks for reply!

dpsource
02-28-2008, 12:03 PM
Any help??
Please!