>Does anyone know if/how I can change the datetime in my Visual Foxpro-application ?
>
>After starting our application, in some occasions, i must be able to set the date a year ahead without changing the Windows datetime.
>So when i call the Date(), Time() or DateTime()-function I must get a later date returned...
Guilluame,
The VFP2C32 Library has a SetSystemTime() function that will allow VFP to change the PC's time. I don't know if that will be useful to you but if you want to check it out, it's at
http://vfp2c.dyndns.org/.
Eric