How can i set a new system date from a pb app ?
Does anybody know a way ?
need your help !
SetSystemDate
Re: SetSystemDate
For Windows only:
Note: For Windows NT, 2K and XP you may need to adjust system
privileges to adjust the time, but I'm not 100% sure how to do that.
Code: Select all
; Sets date to Christmas day in 2003 at 6:30pm.
NewTime.SYSTEMTIME
NewTime\wDay=25
NewTime\wMonth=12
NewTime\wYear=2003
NewTime\wHour=18
NewTime\wMinute=30
NewTime\wSecond=00
SetLocalTime_(NewTime)
privileges to adjust the time, but I'm not 100% sure how to do that.
SetSystemDate Works fine !
Works fine on W2k...
I'm working now... will test this evening on XP.
Thanks PB
I'm working now... will test this evening on XP.
Thanks PB


