# dateinput2 mask

**URL:** <https://techcommunity.softwareag.com/t/dateinput2-mask/201539>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, Natural-for-AJAX, Natural-on-Windows-Unix\
**Created:** [November 1, 2018, 7:46pm UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539 "2018-11-01T19:46:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Canessa1](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jorge\_Canessa1](https://techcommunity.softwareag.com/u/Jorge_Canessa1)\
**Post date:** [November 1, 2018, 7:46pm UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539/1 "2018-11-01T19:46:37Z")

</div>

Hi,

How do I set dateinput2 for the dd/mm/yyyy mask?

Best regards,  
Jorge

---

<div class="post-metadata">

**Author:** ![Frederico\_Machado1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/frederico_machado1/32/1208_2.png) [@Frederico\_Machado1](https://techcommunity.softwareag.com/u/Frederico_Machado1)\
**Post date:** [November 1, 2018, 9:02pm UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539/2 "2018-11-01T21:02:47Z")

</div>

Hi,

Try to set the DTFORM and ULANG properties to ‘europe’ and ‘portuguese(B)’ respectively on your project properties window.

See the image attached.

 ![Image1.png](https://global.discourse-cdn.com/techcommunity/original/2X/e/e3f734e980cb84c0b85fd455fe03581b75b02ad7.png)

---

<div class="post-metadata">

**Author:** ![Jorge\_Canessa1](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jorge\_Canessa1](https://techcommunity.softwareag.com/u/Jorge_Canessa1)\
**Post date:** [November 5, 2018, 11:54am UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539/3 "2018-11-05T11:54:07Z")

</div>

Hi,

I try, but the mask remains the same.  
Only the names of the months have changed.

Thank you.

---

<div class="post-metadata">

**Author:** ![Frederico\_Machado1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/frederico_machado1/32/1208_2.png) [@Frederico\_Machado1](https://techcommunity.softwareag.com/u/Frederico_Machado1)\
**Post date:** [November 5, 2018, 1:03pm UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539/4 "2018-11-05T13:03:58Z")

</div>

Jorge,

Try to set the session parameters like the image2 as well.  
 ![Image2.png](https://global.discourse-cdn.com/techcommunity/original/2X/a/a9ba2f507953f59c8742fa887d1a44ed00164e3f.png)

---

<div class="post-metadata">

**Author:** ![Jorge\_Canessa1](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jorge\_Canessa1](https://techcommunity.softwareag.com/u/Jorge_Canessa1)\
**Post date:** [November 5, 2018, 1:42pm UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539/5 "2018-11-05T13:42:10Z")

</div>

Frederico,

It worked. But I’ve put together your two solutions. I put ‘Potuguese (B)’ in Regional settings and  
I put ‘webio = on dtform = e’ in Run time session parameters without ULANG.  
This way it worked. The days of the week and the mask are in the Brazilian format.

Thank you.

---

<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, 3:41pm UTC](https://techcommunity.softwareag.com/t/dateinput2-mask/201539/6 "2021-04-02T15:41:43Z")

</div>


