Develop > Programming > System Language reference > List: RAD functions > RAD function: get.dateformat

RAD function: get.dateformat

A RAD function that returns the date format, represented by a number, used by your operator ID.

Function

get.dateformat

Format

$date.fmt=get.dateformat()

Factors

Date formats represented, by number:

  • 1 = mm/dd/yy
  • 2 = dd/mm/yy
  • 3 = yy/mm/dd
  • 4 = mm/dd/yyyy
  • 5 = dd/mm/yyyy
  • 6 = yyyy/mm/dd

Example

$date.fmt=get.dateformat()

After execution for a typical user in the United States, the value of $date.fmt is one (1).