Page 1 of 1

backup image format file name

Posted: Sat May 07, 2022 6:27 pm
by mirux
Hi,

I would like to have a suggested filename like 2022_05_07_1930.img,
struggling with the %ds coding.

Can someone help me?

Thx,
Mike

Re: backup image format file name

Posted: Thu Jun 23, 2022 7:13 pm
by Alex
Sorry, missed that post... please use

%ds{yyyy_MM_dd}_%ts{HHmm}

more details here: https://www.c-sharpcorner.com/blogs/date-and-time-format-in-c-sharp-programming1