Re: [PHP] Weird results for 2 lines of damn code

2003-10-16 Thread Curt Zirzow
* Thus wrote Ryan A ([EMAIL PROTECTED]): > Hi everyone, > This "very simple" program is driving me nuts, heres what i am doing: > 1.making a timestamp with the current time. > 2.reading from the timestamp and trying to "render" the date again > > $ryan=strtotime ("now"); echo $ryan.""; > echo strf

Re: [PHP] Weird results for 2 lines of damn code

2003-10-16 Thread Chris Wanstrath
Hey Ryan, Just did a straight copy and paste of your code into a php page on my server. CODE: $ryan=strtotime ("now"); echo $ryan.""; echo strftime("%G-%m-%a %H:%M:%S", $ryan).""; RESULT: 1066353488 2003-10-Thu 21:18:08 Seems to work fine for me...This seems to be a deeper problem than your code

[PHP] Weird results for 2 lines of damn code

2003-10-16 Thread Ryan A
Hi everyone, This "very simple" program is driving me nuts, heres what i am doing: 1.making a timestamp with the current time. 2.reading from the timestamp and trying to "render" the date again $ryan=strtotime ("now"); echo $ryan.""; echo strftime( "%G-%m-%a %H:%M:%S", $ryan).""; This is the resu