In the past we’ve talked about what happens when GP is open after midnight. By default, a window opens asking if you want to change the date to tomorrow. You can turn that off with a Dex.ini switch:
SuppressDateChangeDialog=TRUE
This suppresses the date dialog but doesn’t update the date. If you want to update the date silently instead you need the Update User Date utility, a free utility that is part of the Professional Service Tools Library from Microsoft.
Activating this tool will update the date silently after midnight. You do need to have SuppressDateChangeDialog=TRUE set in the Dex.ini file too.