# Date remove 0

**URL:** <https://community.make.com/t/date-remove-0/76174>\
**Category:** Questions\
**Tags:** format-date\
**Created:** [March 24, 2025, 10:36am UTC](https://community.make.com/t/date-remove-0/76174 "2025-03-24T10:36:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christo1993](https://avatars.discourse-cdn.com/v4/letter/c/f9ae1b/32.png) [@christo1993](https://community.make.com/u/christo1993)\
**Post date:** [March 24, 2025, 10:36am UTC](https://community.make.com/t/date-remove-0/76174/1 "2025-03-24T10:36:53Z")

</div>

Hi there,  
my software is giving me a date in the form YYYY-MM-DD.  
With a replace string I am able to change the English Month in a German one. That works too.  
But here is the problem: I don’t want to have 01 for the day, I want only a 1 or not 02 but only 2.

So my idea was to use again the replace function (under tools)

```auto
{{replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(
1.Datum;
"01"; "1");
"02"; "2");
"03"; "3");
"04"; "4");
"05"; "5");
"06"; "6");
"07"; "7");
"08"; "8");
"09"; "9");
"January"; "Januar");
"February"; "Februar");
"March"; "März");
"May"; "Mai");
"June"; "Juni");
"July"; "Juli");
"October"; "Oktober");
"December"; "Dezember")}}

```

Unfortunately Make is deleting the “0” in front of the number after I saved the module.  
After saving I can see only this

```auto
{{replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(1.Datum; 1; 1); 2; 2); 3; 3); 4; 4); 5; 5); 6; 6); 7; 7); 8; 8); 9; 9); "January"; "Januar"); "February"; "Februar"); "March"; "März"); "May"; "Mai"); "June"; "Juni"); "July"; "Juli"); "October"; "Oktober"); "December"; "Dezember"))}}

```

Maybe someone of you has an idea to fix this problem?

BEst  
Christoph

---

<div class="post-metadata">

**Author:** ![Stoyan\_Vatov](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Stoyan\_Vatov](https://community.make.com/u/Stoyan_Vatov)\
**Post date:** [March 24, 2025, 11:23am UTC](https://community.make.com/t/date-remove-0/76174/2 "2025-03-24T11:23:05Z")

</div>

Hey there,

you can use formatDate() to change DD to D, this should remove the zeros. But May ask what the incoming variable is exactly and why do you need to use replace the months? If its MM, then it should be a number and not a string in German.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [June 22, 2025, 10:27am UTC](https://community.make.com/t/date-remove-0/76174/3 "2025-06-22T10:27:30Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


