View Full Version : SSI Time Zone Problem

03-29-2007, 04:16 PM
I have found only two choices so far:

<!--#echo var="DATE_LOCAL" -->
gives me the local time at the host's server

<!--#echo var="DATE_GMT" -->
gives me GMT.

I am in the UK, my host is in Germany.

Is there a version that will give me my local time i.e. so that it changes from

23 March 2007 15:00 GMT
29 March 2007 15:00 BST

Without me changing the pages manually.

I'd rather not use javascript or PHP so can anyone help with a nice easy SSI solution?

Many thanks.

03-29-2007, 10:03 PM
SSI doesn't allow you to do any calculations and so you are stuck with local time and GMT which are the only ways of extracting it. To get a specific timezone you need to extract it as GMT and then use PHP to apply the appropriate offset.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum