Difference between revisions of "Template:CURRENTINTERNETTIME"
Jump to navigation
Jump to search
imported>Thesevenseas (Fixed Swatch Internet Time Code Error) |
imported>Thesevenseas (Added Zero Padding To Swatch Internet Time Code) |
||
| Line 1: | Line 1: | ||
| − | @{{#ifexpr:((({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0) mod 1000)<100|0}}{{#expr:(({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0) mod 1000}}<noinclude> | + | @{{#ifexpr:((({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0) mod 1000)<100|0}}{{#ifexpr:((({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0) mod 1000)<10|0}}{{#expr:(({{#time:G}}*3600+{{#time:i}}*60+{{#time:s}})/86.4+41 round 0) mod 1000}}<noinclude> |
---- | ---- | ||
This template returns the current [[Swatch Internet Time]] between 000 and 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 and 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 12:22, 31 August 2009
@652
This template returns the current Swatch Internet Time between 000 and 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:CURRENTMINUTE