Difference between revisions of "testpageEMI"

From MGH Learn Pathology
Line 1: Line 1:
{{#time: Y|now +0 days -100 weeks}}
+
{{nextweekvar|{{{1}}}}}
  
<br>
 
  
 +
{{#var:MondayNW}}
  
  
  
{{#vardefine:MondayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +0 days}}|Tuesday={{#time: Y|now -1 days}}|Wednesday={{#time: Y|now -2 days}}|Thursday={{#time: Y|now -3 days}}|Friday={{#time: Y|now -4 days}}|Saturday={{#time: Y|now -5 days}}|Sunday={{#time: Y|now -6 days}}}}}}
+
{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=YEAR(Date)='{{#var:{{{2}}}NW}}' AND scheduleFACservice.DayNumber='{{{1}}}' AND scheduleFACservice.WeekNumber='{{formatnum:{{#expr:{{#timel: W|now {{{3}}} week}}}}}}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplayfac|limit=1|more results text=}}
 
 
{{#var:MondayNW}}
 

Revision as of 09:37, December 19, 2024


Error: Invalid time.


No results