If you are using Windows XP you can take advantage of fnDateTime() to return a KiXtart (or localized, WMI, or FILETIME) friendly date regardless of the time format.