OT? echo DATE_GMT offset
Posted: Sun Jan 04, 2004 3:15 pm
Hello,
I want to output a line (via ssi) on a personal web page (local) that gives me the time in Thailand (GMT+7) or exactly 12 hours from my local time. (I know I could just change AM to PM, but this has become a quest for understanding).
<!--#config timefmt="%A %B %d, %Y %I:%M %p"-->
I have tried:
<!--#echo var="DATE_GMT(+7)"-->
<!--#echo var="DATE_GMT7"-->
<!--#set var="DATE_GMT" value="+7" etc -->
<!--#echo var="DATE_GMT"-->
<!--#echo var="DATE_GMT(today7 with and without quotes double and single)"-->
<!--#echo var="DATE_GMT(today+7)"-->
<!--#echo var="date_gmt (all variations)"-->
and I have done dozens of Google searches without turning up an example
Apache is set up properly, SSI works fine.
If someone here knows what I need to do to get this to work I would appreciate it very much, thank you.
I want to output a line (via ssi) on a personal web page (local) that gives me the time in Thailand (GMT+7) or exactly 12 hours from my local time. (I know I could just change AM to PM, but this has become a quest for understanding).
<!--#config timefmt="%A %B %d, %Y %I:%M %p"-->
I have tried:
<!--#echo var="DATE_GMT(+7)"-->
<!--#echo var="DATE_GMT7"-->
<!--#set var="DATE_GMT" value="+7" etc -->
<!--#echo var="DATE_GMT"-->
<!--#echo var="DATE_GMT(today7 with and without quotes double and single)"-->
<!--#echo var="DATE_GMT(today+7)"-->
<!--#echo var="date_gmt (all variations)"-->
and I have done dozens of Google searches without turning up an example
Apache is set up properly, SSI works fine.
If someone here knows what I need to do to get this to work I would appreciate it very much, thank you.