GNU:
I am running RedHat Linux 6.2 on a Compaq Pentium III.
I am also running an Apache web server.
Within a cgi script, I set the hour and minutes as:
#!/bin/ksh
HHMM=$(date +"%H%M")
echo "${HHMM}"
The Date/Time is actually 01/30/2001 08:10
When I execute this script as root, I receive 0810
When I execute the same script through the web as nobody, I receive 1310.
Why is there a difference in the time?
I cannot receive the same date/time no matter which argument option I give the date
function.
Is this a bug or do I have a system parameter set incorrectly?
Thanks! ... Al
_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils