This function will convert a date variable to a string variable suitable for display (in the PAUSE command for example) The format will be the same as you see for your date columns in the grid and is dependent on your current computer date settings. For example:
# Display the last log date
$LastL ="Last log date is: " + DateFormat($d_LastLog)
Pause Msg=$LastL