A date's day.
Day = SRP_Date("Day", Date)
Returns
The day component of an OI date.
Parameters
Parameter | Description |
---|---|
Date | A date in OI internal format. (REQUIRED) |
Remarks
The "Day" service returns the day component of an OI date. The day component would be the day of the date's month and year, e.g., if an OI date represents March 30, 1978, this service would return 30. If the given date not valid, "" is returned.
Examples
// Get today's day of the month Day = SRP_Date("Day", Date()) // Get today's day of the month in UTC Day = SRP_Date("Day", SRP_Date("Today", 1)) // Get a hard coded date's day of the month Day = SRP_Date("Day", -9519) // Parse a date's day of the month Date = SRP_Date("Parse", "Thursday, March 30, 1978", "DDD, MMMM D, YYYY") Day = SRP_Date("Day", Date)