Time Date Problem on Sun SPARC SOLARIS

Sivakatirswami katir at hindu.org
Sat Mar 9 13:40:01 EST 2002


I am running a .mt script as a CGI on a Sun SPARC Solaris that hosts our web
site in Honolulu.

Problem, my script depends on this function:

"put the date"

returns "March 10, 2002" and Greenwich time (London)

BUT

A shell script on the same machine using UNIX to echo the date returns the
data in Honolulu "March 9, 2002"

So, the "daily lesson" that is built has tomorrow's date.

The sys admin "blames" metacard...but obviously, the server must have *some*
setting that MC is accessing. thus: two questions:

1) how to get MC to return the same, local date and time, that a shell
script returns on the same UNIX machine.
2) what setting on the Solaris is MC accessing that I need to tell the sys
admin to "fix." (they are overloaded like everyone and didn't bother to
investigate further... so I need to take the initiative here.

Any ideas?

Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
katir at hindu.org 
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

Read The Master Course Lesson of the Day at
http://www.gurudeva.org/lesson.shtml




More information about the metacard mailing list