User Tools

Site Tools


syntax:functions:weekday

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:weekday [2015/03/03 23:18] – created dmitrysyntax:functions:weekday [2015/04/03 20:56] elenap
Line 1: Line 1:
 ===== WeekDay(date_as_number) ===== ===== WeekDay(date_as_number) =====
  
-The day of the week starting from 1 (Sunday) to 7 (Saturday).+Extracts the corresponding day of the the weekfrom 1 (Sunday) to 7 (Saturday), from //date_as_number//. 
 + 
 +^  Example  ^  Result  ^  
 +| weekday(42097)  |  6  |   
 +| weekday(35640)  |  3  | 
 +| weekday( makedate(2014,1,1) )  |  4  | 
 + 
 +=== See also: === 
 +  * [[syntax:functions:year]] 
 +  * [[syntax:functions:month]] 
 +  * [[syntax:functions:day]] 
 +  * [[syntax:functions:makedate]]
syntax/functions/weekday.txt · Last modified: 2021/09/25 16:57 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki