Difference between revisions of "Template:CURRENTINTERNETTIME"

From blackwiki
Jump to navigation Jump to search
imported>Pathoschild
(switched exhaustive #switch to (more accurate) calculation)
imported>Pathoschild
m (bugfix with zero-padding, rm deprecated template)
Line 1: Line 1:
@{{#ifexpr:100-(({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0)<100|0}}{{#expr:({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0}}<noinclude>
+
@{{#ifexpr:(({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0)<100|0}}{{#expr:({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0}}<noinclude>
 
----
 
----
{{Template documentation}}
 
 
This template returns the current [[Swatch Internet Time]] between 000 et 999. @000 means 23:00 UTC and @999 means 22:59 UTC. It is independent of local solar or legal time, and does not follow any summer saving time scheme.
 
This template returns the current [[Swatch Internet Time]] between 000 et 999. @000 means 23:00 UTC and @999 means 22:59 UTC. It is independent of local solar or legal time, and does not follow any summer saving time scheme.
  

Revision as of 02:04, 28 January 2007

@879


This template returns the current Swatch Internet Time between 000 et 999. @000 means 23:00 UTC and @999 means 22:59 UTC. It is independent of local solar or legal time, and does not follow any summer saving time scheme.

Syntax:
{{CURRENTINTERNETTIME}}
See also:
Template:CURRENTHOUR
Template:CURRENTMINUTE

fr:CURRENTINTERNETTIME