Date and time in filename - Problem with the letter "m" for minutes

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

ChrisausmAllgäu
Posts: 1
Joined: Sat Feb 22, 2020 7:35 pm

Date and time in filename - Problem with the letter "m" for minutes

Post by ChrisausmAllgäu »

Hello, my name is ChrisausmAllgäu and im from Bavaria-Germany.

I search now for over a hour and all tries are helpless.
My problem is that i want rename my picturefiles with the date and the time of day.

The new name should look like 2020-01-18 15h13m12s. I use the command <Date [Y-m-d HhMmSs]>
but the result is 2020-01-18 15h130112s.

Is there an option to get the letter "m" in the data name?

Thanks for the help,

ChrisausmAllgäu
User avatar
XnTriq
Moderator & Librarian
Posts: 6021
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Date and time in filename - Problem with the letter "m" for minutes

Post by XnTriq »

Welcome to the forum :-)

Code: Select all

<Date [Y-m-d]> <Date [H]>h-<Date [M]>m-<Date [S]>s