Olay - clock
Display current local date and time.
Base URL: https://etrusci.org/tool/olay/?mod=clock
Default configuration: clock.conf.js
Default style: clock.default.css
- mod=clock
- mod=clock&humanformat={hour}:{minute}&updaterate=60000
- mod=clock&repnum=true&repmap=4
- mod=clock&type=unix
- mod=clock&type=unixms&updaterate=80
- mod=clock&type=beats
- mod=clock&type=beats&beatsformat=@{beats}
Clock update rate in milliseconds.
Valid: Integers >= 1
Which type of clock to load.
Valid:
human
: Human-readable date/time formatunix
: Unixtime stamp in secondsunixms
: Unixtime stamp in millisecondsbeats
: Swatch internet time
Human-readable format template.
Requires: type = human
Valid: Placeholders, text, HTML
Placeholders:
{year}
: Year{month}
: Month{day}
: Day{hour}
: Hour{minute}
: Minute{second}
: Second{millisecond}
: Millisecond{timezoneOffset}
: Timezone offset (relative from UTC)
Swatch internet time format template.
Requires: type = beats
Valid: Placeholders, text, HTML
Placeholders:
{beats}
: Beats
Whether to replace numbers with characters.
Valid:
true
: Replace numbers with charactersfalse
: Do not replace numbers with characters
The character map for repnum.
Requires: repnum = true
Valid:
1
: ABCDEFGHIJ2
: ZYXWVUTSRQ3
: 98765432104
: ●□◆■○▶◁▲◇▼5
: ٠١٢٣٤٥٦٧٨٩
<div class="mod clock">
{date_time}
</div>
.mod {} /* or */ .mod.clock {} /* Module output container */