CitectVBA Programming Reference > Understanding CitectVBA Language Basics > Date and Time Handling > Day

Day

The day can be displayed in one of four formats using a lowercase "d".

Value

Meaning

Example

d

Day of the month as digits without leading zeros for single digit days.

5

dd

Day of the month as digits with leading zeros for single digit days.

05

ddd

Day of the week as a three letter abbreviation.

Mon

dddd

Day of the week as its full name.

Monday