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