server side includes dont work -

They have: 5,633 posts

Joined: Jan 1970

ok, getting the calendar week by using timefmt="%U" or %W I tried out, but the output is always two zeros!!!
did anybody have a similar problem, and how can I fix this???
tia
TD

They have: 2,390 posts

Joined: Nov 1998

Tas,
This is what I use for local date.
<!--#config timefmt="%A, %B %d %Y"-->
are you using the same format?
JP

------------------
The Webmaster Promotion and Resource Site
www.what-next.com
The NEXT step in Designing and Promoting your Website

They have: 5,633 posts

Joined: Jan 1970

yep, this is exactly what I do, or at least try to do, but all I get is zero, no matter what time and date it is.
I tried with any letter but could never get some thing different.....

They have: 2,390 posts

Joined: Nov 1998

Do you have other SSI's working?
JP

They have: 5,633 posts

Joined: Jan 1970

maybe my last reply was somehow confusing....
when I use this code:
<!--#config timefmt="%d.%m.%Y">
<!--#echo var="DATE_LOCAL"-->
output is correct e.g. 02.05.1999.
but
<!--#config timefmt="%d.%m.%Y.%U">
<!--#echo var="DATE_LOCAL"-->
i get: 02.05.1999.00!!!
the other strange thing is that, although I enabled insecure SSI's on the server (OmniHTTPD2.02 on NT) some SSI's like LOCAL_TIME just won't work.
i always get "SSI syntax error or command prohibited"
ever heard bout this???

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.