echo date('Y/m/d');

time() e' disponibile a date() per default