Michael D. Schleif wrote: > Jing Wee wrote: > >>>How can I force an ssi to use utc, rather than system localtime? >>> >><!-- #echo var = "DATE_GMT" --> >> > > I guess I was not as clear as I might be. > > I am particularly interested in the `flastmod' and LAST_MODIFIED > constructs. I would like to be able to do this in utc: > > <!--#config timefmt="%Y%m%d%H%M$%S"--> > > <!--#flastmod virtual="./index.html"--> > --OR-- > <!--#echo var="LAST_MODIFIED"--> >
I though this might work, but it didn't: <!--#set var="TZ" value="GMT"--> You can always write your own script to handle the GMT times using something like this: <!--#include virtual="/cgi-bin/myscript.pl?zone=GMT&flastmod=./index.html"--> and then just parse the args in your script to determine what to send back. -- ,-/- __ _ _ $Bill Luebkert ICQ=14439852 (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // http://dbecoll.tripod.com/ (Free site for Perl) -/-' /___/_<_</_</_ Castle of Medieval Myth & Magic http://www.todbe.com/ _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs