SRP_Time provides several services to easily manipulate BASIC+ times. SRP_Time provides the following services:
| Service | Description | Version Added |
|---|---|---|
| AddHours | Adds hours to a time. | 2.1.5 |
| AddMinutes | Adds minutes to a time. | 2.1.5 |
| AddSeconds | Adds seconds to a time. | 2.1.5 |
| AmName | The AM name for a given locale. | |
| AmNames | The full and abbreviated names of AM in a given locale. | |
| Decode | Decodes a time into a dynamic array of information about that time. | |
| Encode | Creates a time from a given hour, minute, and second. | |
| Format | Formats a time using a given locale. | |
| FromFraction | Converts the fraction of a day into an OI time. | |
| FromUTC | Converts a time from UTC to the local time zone. | |
| Hour | A time's hour. | |
| HourSpan | The number of hours between times. | 2.1.5 |
| IsAm | Determines if a time is in the AM. | |
| Determines if the local time is in daylight savings time. | 2.1.2 | |
| IConv | Supports using SRP_Time in an IConv. | |
| Minute | A time's minute. | |
| MinuteSpan | The number of minutes between times. | 2.1.5 |
| Now | The current time in local or UTC time zones. | |
| OConv | Supports using SRP_Time in an OConv. | |
| Parse | Parses a string into a time. | |
| PmName | The PM name for a given locale. | |
| PmNames | The full and abbreviated names of PM in a given locale. | |
| Second | A time's second. | |
| SecondSpan | The number of seconds between times. | 2.1.5 |
| Span | The number of seconds between times. | 2.1.5 |
| TimeZoneBias | The time zone difference between the local time zone and UTC. | |
| ToFraction | Converts a time into the fraction of a day. | |
| ToUTC | Converts a time from the local time zone to UTC. | |
| Validate | Determines if the given time is a real time of day. |