httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <>
Subject Re: [users@httpd] Count in SSI
Date Sun, 30 Mar 2003 16:40:11 GMT
Hash: SHA1

On Sun, 30 Mar 2003, Jan Banan wrote:

> Hi,
> I'm uisng SSI in a shtml-page for getting the current time with:
>    <!--#config timefmt="%H%M%S" --><!--#echo var="DATE_LOCAL" -->
> So the result may look like "181923". Of a certain reason I want to always
> lower the time with two seconds... is that possible?
> Eg 181923 -> 181921
>    181901 -> 181859

I don't think that this is possible with simple SSI. You may need to
call some external program to do the math. Or you could just set your
clock back 2 seconds, if that's really what you're trying to accomplish.
I really think that your easiest route here would be to have Javascript
do something with the number created by SSI.

- -- 
Rich Bowen -
As we trace our own few circles around the sun
We get it backwards and our seven years go by like one
	Dog Years (Rush - Test for Echo - 1999)
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message