Modificar fecha sistema

Buenos das amigos,

Me gustara me indicaran como puedo cambiar por programa la fecha del sistema.

Mi aplicacin estar instalada en w10 y w7.

Saludos.
Angel

You need a structure or memoryblock made up from 8 x UINT16

[quote]struct SYSTEMTIME
Year,Month,DayOfWeek, Day,Hour,Minute,Second,Milliseconds
[/quote]

Add a declare to kernel32

The function call is SetSystemTime( myDateStruct )

Set the values of year,month, day etc and then call SetSystemTime

La funcin SetSystemTime est disponible en WFS que se puede descargar aqui :

https://github.com/arbp/WFS/

Muchas gracias Jeff.

Podra poner la sentencia de programacin.

No lo entiendo.

Muchas gracias.

Angel, descarga WFS, abrelo con Xojo, y busca para SetSystemTime. Te mostrara el cdigo.