Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-29 Thread Francesco Casalena
Hi Brent, hi list, Oooopsss...;) >date -r 049290 +%a returns 'Wed'...ok >date -r 049280 +%a returns 'Tue'...ok >date -r 049270 +%a returns 'Mon'...ok >date -r 049260 +%a returns 'Sun'...ok ^^^ >date -r 049250 +%a returns

Re: Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-29 Thread Francesco Casalena
Hi Brent, hi list, Oooopsss...;) >date -r 049290 +%a returns 'Wed'...ok >date -r 049280 +%a returns 'Tue'...ok >date -r 049270 +%a returns 'Mon'...ok >date -r 049260 +%a returns 'Sun'...ok ^^^ >date -r 049250 +%a returns

Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-29 Thread Francesco Casalena
Hi Brent, hi list, >If you just run your command in the shell, you'll see that you >get an operation not permitted error. Using the -r switch you >can provide the seconds since Epoch to just display a 'date' >you specify. >For instance: >date -r 97840 +%a >R

Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-28 Thread Brent Baisley
Reading the man page on a Mac it says that you are trying to set the system date if you provide a date, which you need to be root to be able to do. If you just run your command in the shell, you'll see that you get an operation not permitted error. Using the -r switch you can provide the second