Re: Converting arrays
| From: | Gary | Date: | Tue, 26 Feb 2002 19:04:49 +0000 |
| Subject: | Re: Converting arrays | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86289@lists.php.net to get a copy of this message | ||
I am using date(B);
http://www.php.net/manual/en/function.date.php
that break 24 hours into 1000 beats I will still have to use timezone but break them into beats.
Gary
Stewart G. wrote:
Why dont you just use timezones? =S. On Mon, 25 Feb 2002, Gary wrote:Simon Willison wrote:Gary wrote:Thanks! in the end it is going to be a kind of time converter for internet time. GaryHi All, I am not too bad at building arrays in php but I need to convert a javascript form into php. How wuld I conver the small snippit here? var d = new Array(), l = new Array(); l[0] = new Array(1, -360, 1, "CHICAGO"); l[1] = new Array(1, -420, 1, "EDMONTON"); l[2] = new Array(1, -540, 1, "FAIRBANKS"); TIA Gary<?php $l = array(); $d = array(); $l[] = array(1, -360, 1, "CHICAGO"); $l[] = array(1, -420, 1, "EDMONTON"); $l[] = array(1, -540, 1, "FAIRBANKS"); ?> The code won't be much use without knowing how it will be used though.