Install with Apax:
apax add @ax/system-datetime
Add the namespace in your ST code:
USING System.DateTime;
| Functions | Description |
|---|---|
| GetDayOfWeek | Gets the day of the week represented by a LDATE or LDATE_AND_TIME. |
| IsLeapYear | Determines whether a year is a leap year. |
| NewDateAndTime | Provides a LDATE_AND_TIME value from given inputs. |
| NewTimeOfDay | Provides a LTIME_OF_DAY value from given inputs. |
| SplitDate | Gets the components of a LDATE value. |
| SplitDateAndTime | Gets the components of a LDATE_AND_TIME value. |
| SplitTimeOfDay | Gets the components of a LTIME_OF_DAY value. |
| Types | Description |
|---|---|
| DayOfWeek | Specifies the day of the week. |