Custom Date Formats

Bulk Rename Utility

Custom Date Formats

Top  Previous  Next

You can append a variety of dates to the filenames, either at the beginning or the end. For example, you could prefix the filenames with their Modified date, or you could suffix them with the Creation date.

 

A new feature, introduced in version 2.0.4.8, is the ability to add date and time information in a very flexible manner, using standard formatting codes. The full list of codes is defined below. So for example, if you wanted to suffix the filename with the day name and the month you could enter a custom code of "%a%M".

 

The full list of codes is:

 

Code

Meaning

%a

Abbreviated weekday name

%A

Full Weekday name

%b

Abbreviated month name

%B

Full month name

%d

Day of Month (01-31)

%H

Hour in 24-hour format (00-23)

%I

Hour in 12-hour format (01-12)

%j

Day of Year (01-366)

%m

Month number (01-12)

%M

Minute (00-59)

%p

AM/PM Indicator

%S

Seconds (00-59)

%U

Week number of year (00-53), with Sunday as the first day of the week.

%w

Weekday (0-6), with Sunday=0.

%W

Week number of year (00-53), with Monday as the first day of the week.

%y

Year, with no century indicator (00-99)

%Y

Year, with century indicator (e.g. 2004)

%z

Time zone name


%%

Percentage sign

 

You can enter other text in the filename, and the symbols above will be substituted with the values. So, you could enter a custom value of "Created on %a, %d %B, %Y" to get "Created on Tuesday, 25th March, 2004"