Day of the week: Difference between revisions
m
→{{header|Stata}}
mNo edit summary |
|||
Line 4,179:
=={{header|Stata}}==
The [https://www.stata.com/help.cgi?dow() <code>dow()</code>] function returns the day of week, where sunday is zero and saturday is 6.
<lang stata>clear
sca n=2121-2008+1
|