Template:CistaIsOpen
From NovaRoma
(Difference between revisions)
Line 12: | Line 12: | ||
*Cista closes at Nov 24 17:00 {{ #time: U | Nov 24 17:00 }} | *Cista closes at Nov 24 17:00 {{ #time: U | Nov 24 17:00 }} | ||
− | Function is <nowiki>{{#switch: {{#expr: {{#time: U | +1 hours }} >= open time }} | | + | Function is <nowiki>{{#switch: {{#expr: {{#time: U | +1 hours }} >= open time }} |1={{#switch: {{#expr: {{#time: U | +1 hours }} <= close time }} |1=1|}}|}}</nowiki> |
Where "open time" and "close time" are calculated using | Where "open time" and "close time" are calculated using |
Revision as of 11:07, 19 February 2010
- If the cista is not open, use nothing.
- If the cista is open, use anything. The number "1" is suggested.
Server time seems to be GMT
Time now in Roma is 0 27 AM. Seconds since 1/1/70 in Roma: 1732404426