Shipping Purolator Class?
| From: | Matt Friedman | Date: | Tue, 26 Nov 2002 03:26:25 +0000 |
| Subject: | Shipping Purolator Class? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126035@lists.php.net to get a copy of this message | ||
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:holmes072000@charter.net]
> 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