.You have now amended the properties of the date or time object on your report. You should make any further changes required then save your report. For further information about how to save the amended report, please refer to the section To save the changes to your document later in this article.
There are many different date and time formats available from the drop-down lists within the Date & Time tab. The following rules apply when specifying a date or time format:
Tip: You can choose a format from the drop-down list, or manually enter the required format following the rules below.
| d | Specifies the format used for the day. A single d displays the correct date, but suppresses the leading zero, where applicable, for example, the first of the month appears as 1. |
|---|---|
| dd | Displays a leading zero where applicable, for example, the first of the month appears as 01. |
| ddd | Displays the day name in a short text format, for example, Monday appears as Mon. |
| dddd | Displays the complete day name in text format, for example, Monday appears as Monday. |
| M | Specifies the format used for the month. A single M displays the correct month, but suppresses the leading zero, where applicable, for example, January appears as 1. |
| MM | Displays a leading zero where applicable, for example, January appears as 01. |
| MMMM | Displays the complete month name in text format, for example, January appears as January. |
| yy | Displays a leading zero where applicable, for example, 2009 appears as 09. |
| yyyy | Displays the complete year, including the century, for example, 2009 appears as 2009. |
| H | Specifies the format used for an hour. A single H displays the correct hour, but suppresses the leading zero, where applicable, for example, one AM appears as 1. An upper case H is used to specify the 24 hour clock format. |
| HH | Displays the leading zero where applicable. For example, one AM appears as 01. An upper case HH is used to specify the 24 hour clock format. |
| h | Specifies the format used for an hour. A single h displays the correct hour, but suppresses the leading zero, where applicable, for example, one o'clock appears as 1. A lower case h is used to specify the 12 hour clock format. |
| hh | Displays the leading zero where applicable. For example, one AM appears as 01. A lower case hh is used to specify the 12 hour clock format. |
| mm | Displays the number of minutes. This is always displayed as two digits. |
| ss | Displays the number of seconds. This is always displayed as two digits. |
| tt | Displays whether the time is AM or PM when using a 12 hour clock format. This is always used in conjunction with the 12 hour clock format listed above. |
| Separator | / or - are the most common but you can enter other characters or spaces if required. |
| Text | You can enter text surrounded by quotations. For example, dd, MMMM "in the year" yyyy displays 01, January in the year 2013 |
Display calculated times as number of days - Where dates are used in an expression, to show the calculated time in days, select this check box.
You have now saved your amended document.
If you are viewing this article from the Sage website, a list of Sage 200 Report Designer articles are available now.
Upgrade your licence
Growing business? Add more companies, users, or employees to your licence with ease. Leave your details and we’ll be in touch.
