Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, in my applications I have the following variable statement LET vToday = Today(0); Sometimes this command is ignored and defaults to yesterdays date, I am doing something silly ? Any advice would be gretaly appreciated.
Regards
Darrell.
Hi
today(0) gives you the date when the script ran.
See manual --> today() for other options.
Stefan
Hi
today(0) gives you the date when the script ran.
See manual --> today() for other options.
Stefan
As swuehl says, the today(0) gives you the date when the script last ran. So if you open a QV-app that was last reloaded yesterday, it will show yesterdays date.
Do you have the same problem if you reload the document?
Hi,
Yes right as swuehl describe try using different varibles and use this functions
LET vToday = Today(0);
LET vToday2 = Today();
LET vReload = Reloadtime();
LET vNow = Now();
And see the difference
Regards,
Anand