Mailinglisten-Archive |
><? /* sts_timestuff.html */
>class timeStuff
>{
> var $TS;
> =09
> function setTimeStamp($wert) // $wert=3D"2001_04_20";
> {
> (int)$pieces=3Dexplode("_",$wert); //egal ob mit int oder ohne
> $this -> TS =3D =
mktime(12,00,00,$pieces[1],$pieces[3],$pieces[0]);
Wieso nimmst Du hier $pieces[3] und nicht $pieces[2] ??
>
> }/* end function */
>}/* end class */
>?>
>
---
Thomas Beckmann, Kiel, Germany
beckmann_(at)_gis.de
php::bar PHP Wiki - Listenarchive