Skip to main content

Year

Year (Función)​

Formato​

year
year ( )

devuelve expresión_entera

Descripción​

Devuelve el año, con 4 cifras, según el reloj del sistema.

Ejemplo​

print "today's date is ";
print (month + 1) + "/" + day + "/" + year

mostrará

today's date is 11/30/2009

Véase también​

Day, Hour, Minute, Month, Msec, Second, Year

Historial​

0.9.4Nuevo en esta versión