27;G') * 60) + date('i');
$start = strange2min($start);
$end = strange2min($end);
return ( ($start <= $now ) &&($now <= $end));
}
// test
$start = "1:30am";
$end = "9:39am";
echo '', var_dump(checkinzone($start,$end)),'';
--
Emilio Astarita <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ot;12345678".
>
> I have the mySQL database fieldtype set to bigint(14). If the maximum
> length a barcode can be is 14, is there a better fieldtype to use that
> will keep the zeros?
Use ZEROFILL, example:
CREATE TABLE `db`.`table` (
`barcode` integer(14) ZEROFILL NOT NULL
)
Peter Ford <[EMAIL PROTECTED]> writes:
> Emilio Astarita wrote:
>> Hi people,
>>
>
> A static method should still be able to set values of private members. I do
> something like:
> ...
>
Thank you, I was not sure how to implement it.
Another question. It wo
of these objects. I can't figure a convenient way. A static
function its a good posibility? I have some ideas but they imply public
setters of the class `element'.
Thanks for any help.
--
Emilio Astarita <[EMAIL PROTECTED]>
Gnus
http://gnus.org/
<http://www.gnu.org/philosophy/f
4 matches
Mail list logo