SRP_Date provides several services to easily manipulate BASIC+ dates. SRP_Date provides the following services:
Service | Description |
---|---|
Day | A date's day. |
DayOfWeek | A date's the day of the week. |
DayOfWeekName | A day of the week's name in a given locale. |
DayOfWeekNames | All the day of the week names in a given locale. |
DayOfYear | A date's day of the year. |
DaysInMonths | The number of days in a given month of a given year. |
Decode | Decodes a date into a dynamic array of information about that date. |
Encode | Creates a date from a given year, month, and day. |
FirstDayOfWeek | The first day of the week for a given locale. |
Format | Formats a date using a given locale. |
IConv | Supports using SRP_Date in an IConv. |
IsLeapYear | Determines if a given year is a leap year. |
Month | A date's month. |
MonthName | A month's name in a given locale. |
MonthNames | All the month names in a given locale. |
OConv | Supports using SRP_Date in an OConv. |
Parse | Parses a string into a date. |
Today | Today's date in local or UTC time zones. |
Validate | Determines if the given date is a real date. |
Year | A date's year. |