Hi,
I've asked this before but never was able to get a solution...
How can I set the date format in my app to match the short date format set in Windows Regional Settings?
#define HKEY_CURRENT_USER 2147483649
SET DATE FORMAT TO GetSysDate()
Function GetSysDate()
LOCAL oReg, c := "Control Panel\International"
oReg := TReg32():New( HKEY_CURRENT_USER ,c , .F.)
cSysDate := oReg:Get("sShortDate", "" )
oReg:Close()
Return cSysDate
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 113 guests