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 )
where
sYmd is the string to be converted (e.g., "2007, 4, 23").
sYmdNew is the properly formatted time string (e.g., "2007-04-23").
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.