Date + Time
| From: | Ben Cairns | Date: | Thu, 25 Jan 2001 10:21:38 +0000 |
| Subject: | Date + Time | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-5200@lists.php.net to get a copy of this message | ||
I need to get the date, day, month,year from the server that PHP is running
on. How can I do this.
I need this information to be returned like:
255012001
Explained:
The Date (Numerical - 2 Digits)
Day (Day Number, Weeks starts on Sunday - Sun=1, Mon=2, Tue=3....)
Month (Numerical - 2 Digits)
Year (Numerical - 4 digits)
but this information has to come from the SERVER as the site visitors will
be all over the world, and the date's will be wrong
Thanks in advance
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: BenC@intasept.com
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"