User Tools

Site Tools


function:YEAR

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
function:YEAR [2015/01/13 04:08]
peternlewis created
function:YEAR [2023/09/20 03:17] (current)
peternlewis
Line 1: Line 1:
-The YEAR returns the year, either the current year, or the year of the specified ​time.+====== YEAR Function ====== 
 + 
 +The YEAR([unixtime]) function ​returns the year, either the current year, or the year of the specified ​[[:​unixtime]].
  
     YEAR() === the current year     YEAR() === the current year
     YEAR( unixtime ) === the year of the unix time     YEAR( unixtime ) === the year of the unix time
  
-unixtime ​is the number of seconds since the start of 1970, GMT.+===== See Also ===== 
 + 
 +=== Actions === 
 + 
 +* [[action:​Filter|Filter]] (Process Text Tokens) 
 +* [[:​Actions|See all Actions]] 
 + 
 +=== Functions ===  
 + 
 +* [[YEAR]] 
 +* [[MONTH]] 
 +* [[DAY]] 
 +* [[DOW]] 
 +* [[HOUR]] 
 +* [[MINUTE]] 
 +* [[SECOND]] 
 +* [[TIME]] 
 +* [[:​Functions|See all Functions]] 
 + 
 +=== Tokens === 
 + 
 +* [[token:​ICUDateTime|%ICUDateTime%]] (local) 
 +* [[token:​ICUDateTimeFor|%ICUDateTimeFor%]] (local) 
 +* [[token:​ICUDateTimeMinus|%ICUDateTimeMinus%]] (local) 
 +* [[token:​ICUDateTimePlus|%ICUDateTimePlus%]] (local) 
 +* [[token:​LongDate|%LongDate%]] (local) 
 +* [[token:​LongTime|%LongTime%]] (local) 
 +* [[token:​NumberDate|%NumberDate%]] (local) 
 +* [[token:​ShortDate|%ShortDate%]] (local) 
 +* [[token:​ShortTime|%ShortTime%]] (local) 
 +* [[:​Tokens|See all Tokens]] 
 + 
 +=== Topics === 
 + 
 +- [[:​Dates_and_Times|Dates and Times]] 
 +- [[:​JulianDate|JulianDate]] 
 +- [[:unixtime]] in GMT 
function/YEAR.1421140082.txt.gz · Last modified: 2015/01/13 04:08 by peternlewis