Date lines in localized po files

Hello everyone,

I’m working in the localization of a game. The English po files are generated by UE, but the localized po files are generated by my team following the format of the English po files. These localized po files are then imported into UE.
At the top of the po file, to mimic the format of the English po file, we generate two lines that look like this:
“POT-Creation-Date: 2022-02-25 12:00\n”
“PO-Revision-Date: 2022-02-25 12:00\n”

Our tool that generates the localized po files uses the current date and time to add this timestamp. A problem we are encountering is that, since these lines are always modified every time we run our tool, we end up not being able to revert unchanged files due to these two lines, even if there are no actual text changes we need to submit to perforce.
So my question is, are these lines absolutely needed in the po files, or are they optional?

Thanks!