Hi Folks, Just checking around to see if anyone is using a Purolator web service to determine shipping costs online.
Wondering if there are classes available and if the service is hard to use. Thanks very much, Matt Friedman > -----Original Message----- > From: John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Thursday November 21, 2002 8:38 PM > To: 'Rodrigo Corrêa'; 'PHP List 1'; 'PHP List' > Subject: RE: [PHP-DB] Help with Date > > > 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... > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php