Código de PHP – Subir un fichero a un servidor mediante FTP
http://www.lawebdelprogramador.com/codigo/PHP/1844-Subir-un-fichero-a-un-servidor-mediante-FTP.html
strtotime — Parse about any English textual datetime description into a Unix timestamp
strtotime — Parse about any English textual datetime description into a Unix timestamp
http://php.net/manual/en/function.strtotime.php
(PHP 4, PHP 5, PHP 7)
Description ¶
int strtotime ( string $time [, int $now = time() ] )
The function expects to be given a string containing an 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 UTC), relative to the timestamp given in now, or the current time if now is not supplied.