Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
swatch_time [2023/12/04 13:14] – [Swatch Internet Time / .beat Time] melonswatch_time [2025/06/17 20:58] (current) – old revision restored (2025/06/17 20:57) GlitchyZorua
Line 1: Line 1:
 ====== Swatch Internet Time / .beat Time ====== ====== Swatch Internet Time / .beat Time ======
 +<fs xx-large>#beatTime#</fs>
  
-@000 +===== Introduction =====
 Swatch time is a universal standard time for the entire internet! It lets you plan events or meetups with your friends from anywhere in the world and not have to worry about timezones or other annoyances! Its also hella hacker and very cool to use :^) Swatch time is a universal standard time for the entire internet! It lets you plan events or meetups with your friends from anywhere in the world and not have to worry about timezones or other annoyances! Its also hella hacker and very cool to use :^)
  
-It was originally invented by the Swatch Company in 1998 although it did not gain much widespread popularity - however it's used on MelonLand and many other web revival sites as a standard means of organisation and planning!+It was originally invented by the Swatch Company in 1998 (Sorta since they copied it from a time format used in the French Revolution) although it did not gain much widespread popularity - howeverit's used on MelonLand and many other web revival sites as a standard means of organisation and planning!
  
 ===== How does it work? ===== ===== How does it work? =====
  
-It divides the day into 1000 “**beats**”. Instead of using hours, minutes, and seconds to represent time, Swatch Internet Time uses a single decimal number ranging from 000 to 999. Each beat is equivalent to 1 minute and 26.4 seconds. Sometimes you'll also see some extra numbers like ".56" these are microbeats and are similar to seconds.+It divides the day into 1000 “**beats**”. Instead of using hours, minutes, and seconds to represent time, Swatch Internet Time uses a single decimal number ranging from 000 to 999. Each beat is equivalent to 1 minute and 26.4 seconds. Sometimes you'll also see some extra numbers like ".56" that are microbeats and are similar to seconds.
  
-Swatch time is usually preceded by an **@** symbol; this helps you know its swatch time and not some random number! For example **@123** or **@542.69**+Swatch time is usually preceded by an **@** symbol; this helps you know it'swatch time and not some random number! For example **@123** or **@542.69**
  
 000 in Swatch time is the same as Midnight UTC+1; but because swatch time does not use timezones, midnight will be different for everyone. The goal of swatch time is not to provide the relative time you can use in your daily life; it's for worldwide events that all need to happen at the same time! 000 in Swatch time is the same as Midnight UTC+1; but because swatch time does not use timezones, midnight will be different for everyone. The goal of swatch time is not to provide the relative time you can use in your daily life; it's for worldwide events that all need to happen at the same time!
Line 21: Line 21:
 **Swatch Time Apps for various platforms:** **Swatch Time Apps for various platforms:**
   * All Apple devices, including Apple Watch - [[https://beattime.mulot.org/|BeatTime]]   * All Apple devices, including Apple Watch - [[https://beattime.mulot.org/|BeatTime]]
-  * Android - [[https://play.google.com/store/apps/details?id=xyz.cbateman.beattimewidget|Beat Time Widget]]+  * Android Phones [[https://f-droid.org/en/packages/eu.mirkodi.swatchbeatclock/index.html|Swatch .beat clock]], [[https://play.google.com/store/apps/details?id=xyz.poolp.swatchtime|Swatch Time]]
   * Pebble Smart Watches - [[https://apps.rebble.io/en_US/search/watchfaces/1?native=false&query=beat|See Beat apps]]   * Pebble Smart Watches - [[https://apps.rebble.io/en_US/search/watchfaces/1?native=false&query=beat|See Beat apps]]
   * macOS Menubar - [[https://github.com/amiantos/dotbeat|dotbeat]]   * macOS Menubar - [[https://github.com/amiantos/dotbeat|dotbeat]]
   * GNOME Extension - [[https://extensions.gnome.org/extension/5946/swatch-clock/|Swatch Clock]]   * GNOME Extension - [[https://extensions.gnome.org/extension/5946/swatch-clock/|Swatch Clock]]
 +  * Cinnamon Applet - [[https://cinnamon-spices.linuxmint.com/applets/view/310|Internet Time]]
 +  * Win 95/XP - [[https://web.archive.org/web/20081224143907/http://www.artefakt.com/projects/ibeat/|iBeat]], Works with Wine and OS's running Windows 7+ as well, not guaranteed to work in the year 2038
 +  * Winamp & WaCUP - [[https://getwacup.com/plugins/big_clock/|Big Clock]], Comes bundled with every copy of WaCUP (and Winamp, I think?), Right click on the big clock, then click on .beat time
 +  * iPad - [[https://apps.apple.com/us/app/beat-internet-time/id1570173118|Beat: Internet time]]
 +  * Color - [[rgbeat|RGBeat]], changes color depending on what time it is, in beat; [[https://melonking.net/hidden/rgbeat|Melon]], [[https://unnick.mice.tel/rgbeat/|Unick]]
  
 ===== Other useful links! ===== ===== Other useful links! =====
Line 31: Line 36:
   * The Swatch [[https://www.swatch.com/en-en/internet-time.html|intro video from 1998]]   * The Swatch [[https://www.swatch.com/en-en/internet-time.html|intro video from 1998]]
   * Swatch Time History on [[https://en.wikipedia.org/wiki/Swatch_Internet_Time|Wikipedia]]   * Swatch Time History on [[https://en.wikipedia.org/wiki/Swatch_Internet_Time|Wikipedia]]
-  * Metric Time on Wikipedia [[https://en.wikipedia.org/wiki/Metric_time]]+  * Decimal Time on Wikipedia [[https://en.wikipedia.org/wiki/Decimal_time]]
  
 ---- ----
Line 80: Line 85:
         mySwatchClock.innerHTML = '@' + GetSwatchTime();         mySwatchClock.innerHTML = '@' + GetSwatchTime();
     }     }
-    setInterval(updateSwatchClock(), 864);+    setInterval(updateSwatchClock, 864);
 </script> </script>
 </code> </code>
Line 111: Line 116:
 } }
 </code> </code>
 +
 +==== BASH: ====
 +(note that Etc timezones are inverted)
 +Calculating Beat Time in bash is simple:
 +<code>
 +MIDNIGHT=$( TZ='Etc/GMT-1' date -d "12:00 am" +%s )
 +BTIME=$(( (($EPOCHSECONDS - $midnight) * 1000)  / 86400 ))
 +echo @$BTIME
 +</code>
 +However, you need to use an external program to calculate centibeats, since bash does not handle decimals well:
 +
 +(using dc, which is a rpn calculator)
 +<code>
 +MIDNIGHT=$( TZ='Etc/GMT-1 date -d "12:00 am" +%s )
 +
 +printf @
 +dc << EOF
 +# setting precision
 +2 k
 +# subtracting midnight from the current epoch
 +$EPOCHREALTIME $MIDNIGHT -
 +# converting to ms
 +1000 *
 +# divide by seconds in a day
 +86400 /
 +# print it to screen
 +p
 +EOF
 +</code>
 +To display it on your screen permanently, you can use any program that uses piped input, but lemonbar is the easiest to use:
 +<code>
 +while true
 +do
 +  MIDNIGHT=$( TZ='Etc/GMT-1' date -d "12:00 am" +%s )
 +  BTIME=$(( (($EPOCHSECONDS - $midnight) * 1000)  / 86400 ))
 +  echo @$BTIME
 +done | lemonbar -bg 48+0+18  # positions a little above the bottom left
 +</code>
 +(you can replace the code between the do and done with the dc version too)
 +