[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linux RedHat 6.2 /bin/date
From: |
Alfred Jahn |
Subject: |
Linux RedHat 6.2 /bin/date |
Date: |
Tue, 30 Jan 2001 08:21:09 -0500 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Linux RedHat 6.2 /bin/date,
Alfred Jahn <=