Since it is not standard feature and other compiler vendors aren't going to add it even in the far future, I think Marc should try setting project to launch some external tool at pre build step to generate *.h file with date formatted as required.
When compiler IDE has no pre-build command setting, for generating only date *.h file, formtting tool can be launched from OS scheduler every day.