backup image format file name

USB Image Tool support forum
Post Reply
mirux
Posts: 1
Joined: Sat May 07, 2022 6:25 pm

backup image format file name

Post 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
Alex
Site Admin
Posts: 266
Joined: Fri Jul 29, 2011 11:59 pm

Re: backup image format file name

Post 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
Post Reply