SwitchMMDD

Switches US Month and Day date values. It swaps the first 2 characters of the field value with the 2 characters that follow the separator.

Syntax

bool SwitchMMDD (StrParam)

Parameters

A list of separators.

Returns

True if two separators are found and the separators are swapped. Otherwise, False.

Level

Field level.

Details

Example
SwitchMMDD("/")  

In this example, the value "03/09/10" becomes "09/03/10".