Basic examples (2)
oDateTime = new stzDateTime("2024-03-15 10:30:00")
? oDateTime.Content()2024-03-15 10:30:00
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 02_creating_datetime_from_standard_format.ring(opens in a new tab)
oDateTime = StzDateTimeQ("2024-03-15 10:00:00")
oDateTime - "2 days"
? oDateTime.Content()
oDateTime - "3 hours"
? oDateTime.Content()2024-03-13 10:00:00 2024-03-13 07:00:00
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 14_using_operator_overloading_for_subtraction.ring(opens in a new tab)
Scope (2)
oDateTime = StzDateTimeQ("2024-03-15 10:00:00")
oDateTime + "2 days"
? oDateTime.Content()
oDateTime + "3 hours"
? oDateTime.Content()
oDateTime + "2 days 5 hours"
? oDateTime.Content()2024-03-17 10:00:00 2024-03-17 13:00:00 2024-03-19 18:00:00
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 13_using_operator_overloading_for_addition.ring(opens in a new tab)
oDateTime = StzDateTimeQ([
:Year = 2024,
:Month = 3,
:Day = 15,
:Hour = 10,
:Minute = 30,
:Second = 45
])
? oDateTime.Content()2024-03-15 10:30:45
run on 2026-10-02 04:22 inside the library at commit 0e72e2e2c; taken from 06_creating_datetime_from_hash_format.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.

