DECLARE INTEGER GetSystemDefaultLCID IN Win32API DECLARE INTEGER GetLocaleInfo IN Win32API; INTEGER Locale, INTEGER LCType,; STRING @lpLCData, INTEGER cchData LOCALE_SDATE = 29 lnLCID = GetSystemDefaultLCID() lcbuffer = SPACE(260) lnbuflen = LEN(lcbuffer) lnresult = GetLocalInfo(lnLCID, LOCALE_SDATE, @lcbuffer, lnbuflen)It returned 2 as the length and the first character was a slash. I also tried it with LOCALE_STIME, and it properly returned a colon. Obviously, it works in VFP, but why it won't in VB...I have no idea. I hope that by looking at the above that you see something in the VB code that I missed.