How to extract dates from a document in different formats?

Usually extracting dates from documents begins by selecting a ‘Date‘ as the data field type or applying a ‘Find dates‘ filter by clicking on ‘Add Filter‘ ‘Find …‘ ‘Find dates‘.

Find dates‘ filter searches for valid dates in the document based on the format you specify in ‘Format on document’ field as shown below.

You can change the output format of dates by specifying the format in ‘Output format’ field as shown below.

The following table below contains detailed information on the date format syntax used in AlgoDocs.

Day Formatting Syntax

dDay of the month without leading zeros1 to 31
ddDay of the month, 2 digits with leading zeros01 to 31
sEnglish ordinal suffix for the day of the month, 2 charactersst, nd, rd or th. Works well with ‘d’

Month Formatting Syntax

MNumeric representation of a month, without leading zeros1 through 12
MMNumeric representation of a month, with leading zeros01 through 12
MMMA short textual representation of a month, three lettersJan through Dec
MMMMA full textual representation of a month, such as January or FebruaryJanuary through December

Year Formatting Syntax

yyyyA full numeric representation of a year, 4 digitse.g. 1991, 2014
yyA two digit representation of a yeare.g. 14, 19


MMMM d, yyyyJanuary 24, 2021
ds MMMM yyyy24th January 2021