You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

SRP_Time provides several services to easily manipulate BASIC+ times. SRP_Time provides the following services:

ServiceDescription
AmName

The AM name for a given locale.

AmNamesThe full and abbreviated names of AM in a given locale.
DecodeDecodes a time into a dynamic array of information about that time.
EncodeCreates a time from a given hour, minute, and second.
FormatFormats a time using a given locale.
FromFractionConverts the fraction of a day into an OI time.
FromUTCConverts a time from UTC to the local time zone. 
HourA time's hour.
IsAmDetermines if a time is in the AM.

IsDaylightSavings

Determines if the local time is in daylight savings time. Added in v. 2.1.2
IConvSupports using SRP_Time in an IConv.
MinuteA time's minute.
NowThe current time in local or UTC time zones.
OConvSupports using SRP_Time in an OConv.
ParseParses a string into a time.
PmNameThe PM name for a given locale.
PmNamesThe full and abbreviated names of PM in a given locale.
SecondA time's second.
TimeZoneBiasThe time zone difference between the local time zone and UTC.
ToFractionConverts a time into the fraction of a day.
ToUTCConverts a time from the local time zone to UTC.
ValidateDetermines if the given time is a real time of day.
  • No labels