2025-03-11: Production version ExifTool 13.25 is now available
C:\>exiftool -G1 -a -s -filetype Y:\!temp\x\y\Green-Crystal.jpg
[File] FileType : PNG
C:\>exiftool -G1 -a -s -FileTypeExtension Y:\!temp\x\y\Green-Crystal.jpg
[File] FileTypeExtension : png
C:\>exiftool -progress "-Filename<%f.$FileTypeExtension" Y:\!temp\x\y\Green-Crystal.jpg
======== Y:/!temp/x/y/Green-Crystal.jpg [1/1]
'Y:/!temp/x/y/Green-Crystal.jpg' --> 'Y:/!temp/x/y/Green-Crystal.png'
1 image files updated
Quote from: StarGeek on March 19, 2025, 12:43:27 AMUsing your original command and adding the -api QuickTimeUTC should work.finally it works! it didn't work because i used -api quicktimeutc with " ". thank you!
Example on my system, -07:00 time zoneC:\>exiftool -P -overwrite_original -api QuickTimeUTC "-filemodifydate<filename" "-createdate<filename" "-FileCreateDate<filename" Y:\!temp\x\y\2025-03-16-19-08-04.mp4
1 image files updated
C:\>exiftool -time:all -G1 -a -s Y:\!temp\x\y\2025-03-16-19-08-04.mp4
[System] FileModifyDate : 2025:03:16 19:08:04-07:00
[System] FileAccessDate : 2025:03:16 19:08:04-07:00
[System] FileCreateDate : 2025:03:16 19:08:04-07:00
[QuickTime] CreateDate : 2025:03:17 02:08:04
[QuickTime] ModifyDate : 0000:00:00 00:00:00
<snip...>
The FileModifyDate is set to the exact time from the filename. The Quicktime:CreateDate is set to the UTC time, 7 hours ahead of my local time.
If I use the -api TimeZone option to temporarily set the time to KST (which would be done as KST-9 on Windows, but I think would be Asia/Seoul on Mac/Linux), I get the correct UTC time for +09:00 time zoneC:\>exiftool -P -overwrite_original -api timezone=KST-9 -api QuickTimeUTC "-filemodifydate<filename" "-createdate<filename" "-FileCreateDate<filename" Y:\!temp\x\y\2025-03-16-19-08-04.mp4
1 image files updated
C:\>exiftool -time:all -G1 -a -s Y:\!temp\x\y\2025-03-16-19-08-04.mp4
[System] FileModifyDate : 2025:03:16 03:08:04-07:00
[System] FileAccessDate : 2025:03:16 03:08:04-07:00
[System] FileCreateDate : 2025:03:16 03:08:04-07:00
[QuickTime] CreateDate : 2025:03:16 10:08:04
[QuickTime] ModifyDate : 0000:00:00 00:00:00
<snip...>
Running the -Time:all command with the -api timezone=KST-9 and -api QuickTimeUTC shows the correct results for your time zone. The file system time stamps are further adjustedC:\>exiftool -time:all -G1 -a -s -api timezone=KST-9 -api QuickTimeUTC Y:\!temp\x\y\2025-03-16-19-08-04.mp4
[System] FileModifyDate : 2025:03:16 19:08:04+09:00
[System] FileAccessDate : 2025:03:19 13:29:48+09:00
[System] FileCreateDate : 2025:03:16 19:08:04+09:00
[QuickTime] CreateDate : 2025:03:16 19:08:04+09:00
[QuickTime] ModifyDate : 0000:00:00 00:00:00
<snip...>