This shows you the differences between two versions of the page.
es:year [2016/01/01 22:44] |
es:year [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Year ===== | ||
+ | ==== Formato ==== | ||
+ | **year**\\ | ||
+ | **year** ( ) | ||
+ | ==== Descripción ==== | ||
+ | Devuelve el año actual (con cuatro dígitos), de acuerdo con el reloj del sistema. | ||
+ | |||
+ | ==== Ejemplo ==== | ||
+ | < | ||
+ | print "La fecha de hoy es "; | ||
+ | print day + "/" | ||
+ | </ | ||
+ | mostrará: | ||
+ | < | ||
+ | La fecha de hoy es 30/11/2009 | ||
+ | </ | ||
+ | ==== Ver también ==== | ||
+ | [[day|Day]], | ||
+ | |||
+ | ==== Disponible desde la versión ==== | ||
+ | 0.9.4 | ||