Openbsd /
Changing Time Zone
/usr/share/zoneinfo
contains user time zones.
$ ls /usr/share/zoneinfo/ Africa EET GMT0 MST Singapore America EST Greenwich MST7MDT Turkey Antarctica EST5EDT HST Mexico UCT Arctic Egypt Hongkong NZ US ...
To set system time, create a symlink to /etc/localtime:
$ doas ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime $ date Wed Apr 3 12:33:24 EDT 2024
The date can be set manually:
$ doas date yyyymmddHHMM