Template:CistaIsOpen

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(trying to make automatic magic)
(move close time to 17:00 Nov 24 Rome time)
Line 1: Line 1:
{{#switch: {{#expr: {{#time: U | +1 hours }} >= 1226210400 }} |1={{#switch: {{#expr: {{#time: U | +1 hours }} <= 1226764800 }} |1=1|}}|}}<noinclude>
+
{{#switch: {{#expr: {{#time: U | +1 hours }} >= 1226210400 }} |1={{#switch: {{#expr: {{#time: U | +1 hours }} <= 1227542400 }} |1=1|}}|}}<noinclude>
 
*If the cista is '''not open''', use nothing.
 
*If the cista is '''not open''', use nothing.
 
*If the cista is '''open''', use anything. The number "1" is suggested.
 
*If the cista is '''open''', use anything. The number "1" is suggested.
Line 10: Line 10:
 
Seconds since 1/1/70 in Roma {{ #time: U | +1 hours }}
 
Seconds since 1/1/70 in Roma {{ #time: U | +1 hours }}
  
Cista opens at {{ #time: U |Nov 9 7:00 }}
+
Cista opens at Nov 9 7:00 {{ #time: U |Nov 9 7:00 }}
Cista closes at {{ #time: U | Nov 15 17:00 }}
+
Cista closes at Nov 24 17:00 {{ #time: U | Nov 24 17:00 }}
  
  

Revision as of 05:03, 10 November 2008

  • 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: 14 40 PM

Seconds since 1/1/70 in Roma 1714315248

Cista opens at Nov 9 7:00 1731132000 Cista closes at Nov 24 17:00 1732464000


Magic:



Personal tools