This trend-smend content filter is friggin stupid. Someone should write
another one.

Where is the “dirty word” in this:

> Is there a way to convert a date " 20/11/2002 " to a Float number in
PHP,
> since the date starts in 30/12/1899, just like the delphi treats the
> dates....

Yeah, of course. To convert "20/11/2002" into a float, just do

echo (float)"20/11/2002";

and you get 20!!

Or you can use strtotime() to convert it to a Unix timestamp (integer,
number of seconds since Jan 1, 1970).

---John Holmes...

???

Or is John Holmes dirty?? Heh..

---John Holmes…

-----Original Message-----
From: System Attendant [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 21, 2002 8:40 PM
To: 'John W. Holmes'
Subject: ScanMail Message: To Sender, sensitive content found and action
taken.

Trend SMEX Content Filter has detected sensitive content. 
Place = 'Rodrigo Corręa'; 'PHP List 1'; 'PHP List'; ; ;
[EMAIL PROTECTED] 
Sender = John W. Holmes 
Subject = [PHP] RE: [PHP-DB] Help with Date 
Delivery Time = November 22, 2002 (Friday) 09:39:38 
Policy = Dirty Words 
Action on this mail = Delete message 
Warning message from administrator: 
Sender, Content filter has detected a sensitive e-mail. 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to