# How to get the "name of the day" of a date

**URL:** <https://techcommunity.softwareag.com/t/how-to-get-the-name-of-the-day-of-a-date/78696>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [August 6, 2008, 8:14pm UTC](https://techcommunity.softwareag.com/t/how-to-get-the-name-of-the-day-of-a-date/78696 "2008-08-06T20:14:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlo](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@Carlo](https://techcommunity.softwareag.com/u/Carlo)\
**Post date:** [August 6, 2008, 8:14pm UTC](https://techcommunity.softwareag.com/t/how-to-get-the-name-of-the-day-of-a-date/78696/1 "2008-08-06T20:14:03Z")

</div>

HI,

I would like to say how to get the “name of the day” (Monday, …) or  
the “number of the day” (1,2,3,4,5,6,7) of a date in Natural.

Thanks,  
Carlo

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 6, 2008, 9:59pm UTC](https://techcommunity.softwareag.com/t/how-to-get-the-name-of-the-day-of-a-date/78696/2 "2008-08-06T21:59:56Z")

</div>

```auto
DISPLAY *DATX (EM='Day 'O)                     
      / *DATX (EM=N(10),' 'L(10)' 'DD','YYYY) .
```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:50pm UTC](https://techcommunity.softwareag.com/t/how-to-get-the-name-of-the-day-of-a-date/78696/3 "2021-04-02T14:50:43Z")

</div>

Closed on April 2, 2021, 2:50pm UTC


