Pass it as a top-level generic. That should be much easier than trying to edit the file:
set_property generic "USER_DATE=$date_part USER_TIME=$time_part" [current_fileset]
And declare them as generics instead of constants.