>DECLARE integer SetSystemTime IN Win32API AS SetSysTime STRING @_lpst >st = CHR(wYear%256) + CHR(wYear/256) + ; > CHR(wMonth) + CHR(0) + ; > CHR(0)+CHR(0) + ; > . > . > . >IF (LEN(st) < 16) > st = padr(st, 16, chr(0)) && pad with zeros just to be safe >ENDIF >** now call SetSysTime() >SetSysTime(@st); >BTW, the code was meant for VFP 3.0, and is untested even for it. Unfortunately I can't help you with FPW 2.6, and also do please tell me if