LocalTime's icon

LocalTime 1.0.0 Scripts 4.0 Community

Submitted by user nekofleet; CC0; 2023-05-19

A class for local time.
Not compatible with DST.

How to use
# Create object
var t = LocalTime.now()
# Setter / Getter
t.day = 15
print(t.month)
# Add time
t.add_days(100)
t.hour += 48
# Format
print(t.format("{lweekday}, {month}/{day}/{year}"))


View files Download Submit an issue Recent Edits