FormatYmdStr
The FormatYmdStr function converts a date string in YMD form to a properly formatted date string. Use this function, for example, to convert "2007, 4, 23" to "2007-04-23"
sYmdNew = FormatYmdStr( sYmd )
Use this function to clean input strings and convert them into the standard format. The standard format string can be sent to other Mira functions expecting a properly formatted date string.