TMBASIC
Documentation
Docs
GitHub
TMBASIC Documentation
Procedures: Dates and Times
AvailableTimeZones
— Returns all time zones available to TMBASIC.
DateFromParts
— Creates a
Date
from individual date components.
DateTimeFromParts
— Creates a
DateTime
from individual date and time components.
DateTimeOffsetFromParts
— Creates a
DateTimeOffset
from individual date, time, and zone components.
Days
— Creates a
TimeSpan
for the specified number of days.
Hours
— Creates a
TimeSpan
for the specified number of hours.
Milliseconds
— Creates a
TimeSpan
for the specified number of milliseconds.
Minutes
— Creates a
TimeSpan
for the specified number of minutes.
Seconds
— Creates a
TimeSpan
for the specified number of seconds.
TimeZoneFromName
— Looks up a
TimeZone
by name.
TotalDays
— Converts a
TimeSpan
to days.
TotalHours
— Converts a
TimeSpan
to hours.
TotalMilliseconds
— Converts a
TimeSpan
to milliseconds.
TotalMinutes
— Converts a
TimeSpan
to minutes.
TotalSeconds
— Converts a
TimeSpan
to seconds.
UtcOffset
— Calculates the difference between UTC and another time zone for a particular local time.