Template:THDayofWeek: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
Dfmchfhf (talk | contribs)
Fixed the the-day-is-wrong-if-the-minutes-in-the-hour-is-before-10 problem.
Dfmchfhf (talk | contribs)
m re-fixing linebreak issue
Line 1: Line 1:
<!-- This function works by finding the number of days which have elapsed since the 16th November 2008, which was a Sunday, and which also was the day after this function was (first) made. -->
<!-- This function works by finding the number of days which have elapsed since the 16th November 2008, which was a Sunday, and which also was the day after this function was (first) made. --><includeonly>{{#switch: <!-- SWITCH for determining name of day -->
<includeonly>{{#switch: <!-- SWITCH for determining name of day -->
   {{#expr:
   {{#expr:
     (
     (

Revision as of 19:14, 16 November 2008

Variable

Returns the day of the week in the game of today

Sample

Today is {{THDayofWeek}} returns:
Today is Thewsday