strtotime
description
The function expects to be given a string containing a US English date format and will try to parse that format into a Unix timestamp (the number of seconds since January 1 1970 00:00:00 GMT), relative to the timestamp given in $now, or the current time if $now is not supplied.
Diese Funktion erwartet einen String mit einem Datum in US-englischem Datumsformat und versucht, dieses Format in einen Unix-Timestamp (die Anzahl der Sekunden seit dem 01. Januar 1970 00:00:00 GMT) zu übersetzen. Die Angabe wird relativ zu in $now übergebenen Timestamp oder der aktuellen Zeit, sofern $now nicht gesetzt ist, ausgewertet.
La función espera que se le pase una cadena conteniendo una fecha en formato Inglés e intentará procesarla y convertirla a una timestamp (muestra de tiempo) de UNIX relativa a la timestamp proporcionada en $now, o la hora actual si no se indica ninguna. Si falla, devolverá -1.
strtotime() essaye de lire une date au format anglais US dans la chaîne $time, et de la transformer en timestamp Unix (le nombre de secondes depuis le 1er Janvier 1970 à 00:00:00 UTC), relativement au timestamp $now, ou à la date courante si ce dernier est omis.
A função espera que seja dado uma string contendo um formato de data em inglês US e tentará analisar esse formato dentro de um timestamp Unix (o número de segundos desde January 1 1970 00:00:00 GMT), relativo ao timestamp dado em $now, ou a hora atual se $now não é fornecido.
function call
int strtotime( string $time [, int $now ] )
test strtotime online
comments for strtotime
On 16. Dec 2009 12:36 CooL LeO wrote:
I have now used many nmumber of times...great instact tool i must say.
On 17. Sep 2009 09:11 jason wrote:
nice tool but you need to show the actual date as well next to the unix timestamp.. thanks
On 31. Aug 2009 16:25 Balazs Zatik wrote:
Works great! I'll use this tool again if I need it. Thank you.
