the EXIF DateTimeOriginal format is YYYY:MM:DD (HH:MM:SS) per its specification. I don't want to records the seconds from the time. I want my format to be YYYY:MM:DD (HH:MM).
How I can achieve this, regardless the OS?
ExifTool lets you read and write EXIF data. You can use it to extract the timestamp, set the seconds value to zero and write it back.
ExifTool works on Windows, Linux and Mac. You'll need to write a script or program to manipulate the timestamp, but you can use your script or programming language of choice.