Re: fecha a timestamp

From: Date: Thu, 01 Feb 2001 13:45:53 +0000
Subject: Re: fecha a timestamp
References: 1 2 3 4  Groups: php.general.es 
Request: Send a blank email to general-es+get-6599@lists.php.net to get a copy of this message
Hola! me explico mejor: La hora llega en un string como este: 2001-02-01 08:44:00 y debo convertirlo en un timestamp por ahora he jugado con un split por espacio, lo cual me deja la fecha en un campo y la hora en otro, luego hjago split por - en la fecha y por : en al hora alli me quedan como vriables independietes y posteriormente genero el mktime pero supongo que debve existir una mejor forma

« previous php.general.es (#6599) next »