DateCreated inserts a letter T

Advanced Renamer forum
#1 : 11/06-25 15:07
Patrick
Posts: 1
Hi,

Has anyone experienced this before?
When renaming a photos, using the DateCreated or DateTaken some files will have a letter T between the date and the time. For example "2025-06-11T16-01-01.HEIC"

It doesnt do this for all the photos - probably between 1/3 and 1/2.

When using the DateTime it doesnt do this.
#2 : 11/06-25 21:51
Delta Foxtrot
Posts: 489
Reply to #1:

Hi Patrick,

I've seen this occasionally but I have no reason for it. Maybe different camera brands, or models, or even an upgrade to camera firmware, I don't know. It's a problem that's easy to solve however, just add a replace method after the method that inserts the date and have it replace the T with a space or nothing, whatever is your preference. For instance, using your example:

[leave out the quotes]
Replace: "T(\d\d-\d\d-\d\d)$"
Replace with: " $1"
Use regex
Apply to: Name

That will replace the T with a space. Just leave out the space before the "$1" if you don't want it, or replace it with whatever character you like.

Best,
DF
#3 : 12/06-25 06:07
Kim Jensen
Administrator
Posts: 988
Reply to #1:
The T is a separator between the date and the time, defined in the standard ISO 8601:
https://en.wikipedia.org/wiki/ISO_8601#Combined_ date_and_time_representations

Fun fact, ISO 8601 is also the standard that defines a week to start on a monday, not sunday. Starting the week on a sunday is so stupid. It is called week-end for a reason. Why the US insists on starting the week in the middle of the weekend is beyond me.

edited: 12/06-25 06:21