User Tools

Site Tools


function:YEAR

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
function:YEAR [2015/01/14 00:49]
peternlewis
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 [[:​unixtime]].+====== 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
 +
 +===== 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.1421214551.txt.gz · Last modified: 2015/01/14 00:49 by peternlewis