>>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...
>
>I think you may define date constant in your application and change various calls to time related functions to use that constant.
>
>Say,
>
>#define date() gomonth(date(),12)
That is a recursive definition - I see problems
Gregory