Difference between revisions of "Function for Current Week of Month"
Jump to navigation
Jump to search
m
Function for Current Week of Month (edit)
Revision as of 11:37, 31 August 2017
, 11:37, 31 August 2017→Syntax
imported>Lisselli (added page for getting the current week of a month.) |
imported>Lisselli m (→Syntax) |
||
Line 6: | Line 6: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Int Function GetCurrentWeekOfMonth(Int aiCurrentDay) | Int Function GetCurrentWeekOfMonth(Int aiCurrentDay) | ||
return (aiCurrentDay / 7) + 1 | return (aiCurrentDay / 7) + 1 as int | ||
EndFunction | EndFunction | ||
</source> | </source> |