[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Hi there, another newbie question



I guess your wanting to call a perl script to build your page. But just in
case all you want is just a display of the time:

<!--#echo var="DATE_GMT" --> in you page will place the Date into your page
at that spot in the format Friday, 05-May-2000 06:55: GMT [For sure with
Apache on Linux - others need to check]

This is the default format, but you can reformat using sprintf type syntax.
Check out http://www.useforesite.com/tut_ssi.shtml for the details.

[I do all my work on Macs and upload to this server.]

John


>Hi everyone
>
>I live in Iceland but I run an Icelandic website on an American server.
>I'm interested in using a server side include to display the time but
>localtime() displays American time and I'm interested in displaying
>Icelandic time (Greenwich Mean Time).  Is there a neat way I can make
>Perl display GMT instead of just date of the clock on the server?
>
>Thanks
>
>Sveinbjorn Thordarson
>
># ===== Want to unsubscribe from this list?
># ===== Send mail with body "unsubscribe" to macperl-request@macperl.org




# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org