Date & Time Format Options Page

Previous page  Return to Introduction  Next page

FileBoss for Windows
File Manipulation to the Max
Click for more on FileBoss  

To Display this Options Page

Use the Options | Program Options... command from the main menu (or click its command button) and select Date Formats from the list of option pages on the left side.

Date And Time Format Options

File Date and Time Formats

These formats tell FileBoss how to display file times. Most notably these file times are seen in the Modified, Accessed and Created columns in the contents window of any view. The format for each of these columns can be set separately.

To set the formats use the Options | Program Options... command from the main menu (or click its command button) and select Date Formats from the list of option pages on the left side.

 

To see formats for entering dates and times into dialog controls click here.

Default Formats

If a format is blank the dialog controls will display dates and times in a format determined by how your version of Windows is setup.

Quick Examples

For Tuesday, 31 October 2003 at 1:15:30 in the afternoon

Dates

31-Oct-2003dd-MMM-yyyy
10/31/2003MM/dd/yyyy
31/10/03dd/MM/yy
20031031yyyyMMdd
2003 10 31yyyy MM dd

 

Times

13:15:30HH:mm:ss
01:15:30AMhh:mm:sstt
1:15:30 AMh:mm:ss tt

Complete List of Formats

d
The one- or two-digit day.

dd
The two-digit day. Single-digit day values are preceded by a zero.

ddd
The three-character weekday abbreviation.

dddd
The full weekday name.

h
The one- or two-digit hour in 12-hour format.

hh
The two-digit hour in 12-hour format. Single-digit values are preceded by a zero.

H
The one- or two-digit hour in 24-hour format.

HH
The two-digit hour in 24-hour format. Single-digit values are preceded by a zero.

m
The one- or two-digit minute.

mm
The two-digit minute. Single-digit values are preceded by a zero.

M
The one- or two-digit month number.

MM
The two-digit month number. Single-digit values are preceded by a zero.

MMM
The three-character month abbreviation.

MMMM
The full month name.

t
The one-letter AM/PM abbreviation (that is, AM is displayed as "A").

tt
The two-letter AM/PM abbreviation (that is, AM is displayed as "AM").

yy
The last two digits of the year (that is, 1996 would be displayed as "96").

yyyy
The full year (that is, 1996 would be displayed as "1996").

Ref: HIDH_FILE_DATE_FORMATSV

 

Entering Dates & Times in Dialogs

These formats tell FileBoss how to display file times. Most notably these file times are seen in the Modified, Accessed and Created columns in the contents window of any view. The format for each of these columns can be set separately.

To set the formats use the Options | Program Options... command from the main menu (or click its command button) and select Date Formats from the list of option pages on the left side.

 

To see formats for displaying file times click here.

Quick Examples

For Tuesday, 19 March 2002 at 1:15:30 in the afternoon

(Note the the colon and slashes are not used as these cannot be part of a file name!)

02-03-19%y-%m-%d
20020319%Y%m%d
2002-03-19%Y-%m-%d
19-Mar-2002%d-%b-%Y
Tuesday, March 19, 2002%A, %B %d, %Y
Tue, 19 Mar 2002%a, %d %b %Y
Tuesday the 078 day of 2002%A the %j day of %Y
2002-078%Y-%j
01-15-30PM%I-%M-%S%p

Complete Specifications

Year

%yYear without century, as decimal number (00 99)
%YYear with century, as decimal number

Month

%bAbbreviated month name
%BFull month name
%mMonth as decimal number (01 12)

Week

%wWeekday as decimal number (0 6; Sunday is 0)
%WWeek of year as decimal number, with Monday as first day of week (00 53)
%UWeek of year as decimal number, with Sunday as first day of week (00 53)

Day

%aAbbreviated weekday name
%AFull weekday name
%dDay of month as decimal number (01 31)
%jDay of year as decimal number (001 366)

Hour

%HHour in 24-hour format (00 23)
%IHour in 12-hour format (01 12)
%pCurrent locale's A.M./P.M. indicator for 12-hour clock

Minutes

%MMinute as decimal number (00 59)

Seconds

%SSecond as decimal number (00 59)

Miscellaneous

%cDate and time representation appropriate for locale
%xDate representation for current locale
%XTime representation for current locale
%z(or %Z) Time-zone name or abbreviation; no characters if time zone is unknown
%%Percent sign

Alphabetical list:

%aAbbreviated weekday name
%AFull weekday name
%bAbbreviated month name        
%BFull month name
%cDate and time representation appropriate for locale
%dDay of month as decimal number (01 31)
%HHour in 24-hour format (00 23)
%IHour in 12-hour format (01 12)
%jDay of year as decimal number (001 366)
%mMonth as decimal number (01 12)
%MMinute as decimal number (00 59)
%pCurrent locale's A.M./P.M. indicator for 12-hour clock
%SSecond as decimal number (00 59)
%UWeek of year as decimal number, with Sunday as first day of week (00 53)
%wWeekday as decimal number (0 6; Sunday is 0)
%WWeek of year as decimal number, with Monday as first day of week (00 53)
%xDate representation for current locale
%XTime representation for current locale
%yYear without century, as decimal number (00 99)
%YYear with century, as decimal number
%z, %ZTime-zone name or abbreviation; no characters if time zone is unknown
%%Percent sign

Format Code        Meaning        

%#a, %#A, %#b, %#B, %#p, %#X, %#z, %#Z, %#%        # flag is ignored.        

%#c        Long date and time representation, appropriate for current locale. For example: "Tuesday, March 14, 1995, 12:41:29".        

%#x        Long date representation, appropriate to current locale. For example: "Tuesday, March 14, 1995".        

%#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y, %#Y        Remove leading zeros (if any).

Ref: HIDH_FILE_DATE_FMTS_DIALOGS

Have a question about FileBoss or anything else?

If this page didn't have what you are looking for or you want to know more just ask us. Please!

 

Your Email Address:

Your Question: