Basic examples (2)
oTime = new stzTime(52245) ? oTime.ToString()
14:30:45
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 04_creating_time_from_seconds_since_midnight.ring(opens in a new tab)
o1 = new stzTime("05:08:34")
? o1.ToStringXT(:Long) # Or ToLong()05:08:34.000
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from 60_tostringxt.ring(opens in a new tab)
Scope (5)
oTime = new stzTime([:Hour = 14, :Minute = 30, :Second = 45]) ? oTime.ToString()
14:30:45
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 03_creating_time_from_hash_list.ring(opens in a new tab)
oTime = new stzTime("10:00:00")
oTime + 3600 # Add 1 hour (3600 seconds)
? oTime.Content()11:00:00
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 10_operator_overloading_with.ring(opens in a new tab)
oTime = new stzTime("10:00:00")
oTime - 1800 # Subtract 30 minutes (1800 seconds)
? oTime.Content()09:30:00
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 11_operator_overloading_with_-.ring(opens in a new tab)
oTime = new stzTime("14:30:00")
? oTime.Content()
oTime2 = new stzTime("14:30")
? oTime2.Content()14:30:00 14:30:00
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 02_creating_time_from_string.ring(opens in a new tab)
oTime1 = new stzTime("14:30:00")
oTime2 = oTime1.Copy()
oTime2.AddHours(2)
? oTime1.ToString()
? oTime2.ToString()14:30:00 16:30:00
run on 2026-10-02 04:24 inside the library at commit 0e72e2e2c; taken from 30_copying_time_objects.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.

