Skip to main content

Understanding Date Formatting in the Report Designer

T
Written by Tim Sublette

The articles in this section of the Knowledge Base involve Text Formatting for display in your reports. To learn more about Text Formatting and how to access this section within the Report Designer, see Understanding Text Formatting in the Report Designer. This article focuses on the Date Format tab of the Text Formatting window.

Any time a date is used within a text component of your report, the Date Format should be utilized. The Date Format is selected form a set of specified formats – a long format, a short format, etc. In the applied format, except the ones with an asterisk (*), the order of elements does not change. For example, the report contains a list of products and OrderDate, RequiredDate, ShippedDate.

Product

OrderDate

RequiredDate

ShippedDate

1 Door Base

8/3/2020 11:00:00 PM

8/31/2020 11:00:00 PM

8/15/2020 11:00:00 PM

2 Door Base

8/4/2020 11:00:00 PM

9/1/2020 11:00:00 PM

8/16/2020 11:00:00 PM

1 Door Upper

8/5/2020 11:00:00 PM

9/2/2020 11:00:00 PM

8/17/2020 11:00:00 PM

2 Door Upper

8/6/2020 11:00:00 PM

9/3/2020 11:00:00 PM

8/18/2020 11:00:00 PM

By default, the date and time are displayed when the Date Format mask is applied to a text component. Different Date Format masks can be applied to the data columns above. Select the text component, open the Text Format window, navigate to the Date tab, and select the appropriate type.


Fig. 01 – Text Formatting > Date Tab


  1. Date Format – This box contains all of the available formatting masks to be applied to a date.

After setting different formats, the same table from above would look something like this:

Product

OrderDate

RequiredDate

ShippedDate

1 Door Base

8/3/2020

Monday, August 31, 2020

15/08/2020

2 Door Base

8/4/2020

Tuesday, September 1, 2020

16/08/2020

1 Door Upper

8/5/2020

Wednesday, September 2, 2020

17/08/2020

2 Door Upper

8/6/2020

Thursday, September 3, 2020

18/08/2020

In addition to the formats on the Date tab, you can create a format on the Custom tab.

Did this answer your question?