A datetime's date.

Date = SRP_DateTime("Date", Datetime)

Returns

An OI date.

Parameters

ParameterDescription
DatetimeA datetime in OI's internal format. (REQUIRED)

Remarks

The "Date" service extracts just the date portion and returns it in OI's internal date format. If Datetime is not valid, "" is returned.

Examples

// Get just the date from the current datetime
Date = SRP_DateTime("Date", DateTime())
  • No labels