TMBASIC
Documentation
Docs
GitHub
TMBASIC Documentation
Procedures: Dates and Times
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.
Day
— Returns the day component of a date.
Days
— Creates a
TimeSpan
for the specified number of days.
Hour
— Returns the hour component of a time.
Hours
— Creates a
TimeSpan
for the specified number of hours.
Millisecond
— Returns the millisecond component of a time.
Milliseconds
— Creates a
TimeSpan
for the specified number of milliseconds.
Minute
— Returns the minute component of a time.
Minutes
— Creates a
TimeSpan
for the specified number of minutes.
Month
— Returns the month component of a date.
Second
— Returns the second component of a time.
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.
UtcOffsets
— Calculates the difference between UTC and another time zone for a particular local time.
Year
— Returns the year component of a date.