Utilities to work with Swatch Internet Time (.beat time).
- Every day has 1000.beats.
- Every .beat has 86_400 milliseconds.
- There's no notion of time zones: it's an universal time system based on UTC+01.
def deps do
[
{:beat_time, "~> 1.0.0"}
]
end
iex> BeatTime.now()
%BeatTime{value: 300}
iex> BeatTime.now() |> BeatTime.format()
"@300"