string = GetDateFormat(locale, flags , time , format )
Formats a date as a date string for a specified locale. The function formats either a specified date or the local system date.