httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Count in SSI
Date Sun, 30 Mar 2003 16:40:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
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 - rbowen@rcbowen.com
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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE+hx3yXP03+sx4yJMRAqYxAJ4wX0Zltw9hDQiX4kCPF/48isRVEQCgrJ+V
ESCYPHm+MmU0v/D6ahyKkd4=
=wRIs
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message