Difference between revisions of "Template:THDayofWeek"

From Twilight Heroes Wiki
Jump to: navigation, search
(Fixed the the-day-is-wrong-if-the-minutes-in-the-hour-is-before-10 problem.)
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 11:14, 16 November 2008

Variable

Returns the day of the week in the game of today

Sample

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