# Adding a the 0 before single digit dates

**URL:** <https://community.textexpander.com/t/adding-a-the-0-before-single-digit-dates/543>\
**Category:** Have a question?\
**Tags:** discussion, how-to\
**Created:** [February 8, 2026, 11:05pm UTC](https://community.textexpander.com/t/adding-a-the-0-before-single-digit-dates/543 "2026-02-08T23:05:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RyanSodziak](https://sea3.discourse-cdn.com/textexpander/user_avatar/community.textexpander.com/ryansodziak/32/208_2.png) [@RyanSodziak](https://community.textexpander.com/u/RyanSodziak)\
**Post date:** [February 8, 2026, 11:05pm UTC](https://community.textexpander.com/t/adding-a-the-0-before-single-digit-dates/543/1 "2026-02-08T23:05:55Z")

</div>

Hi fellow TEers!

I have a snippet that helps me file documents that I get regularly via email. I copy the subject, click to save the attachment. Then in the file dialog window I use the snippet that adds a date, then the clipboard. Works beautifully.

However during the single digit months and days I was hoping to add a 0 before. So instead of “2026 2 8”, I have “2026 02 08”. Any suggestions on how I might be able to achieve this? Screenshot of my current snippet.

 ![Screenshot 2026-02-09 085930](https://us1.discourse-cdn.com/textexpander/original/1X/4577a67b2a0ccba1234048ce7b8abe370874c795.png)

---

<div class="post-metadata">

**Author:** ![LarrySolesbee](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@LarrySolesbee](https://community.textexpander.com/u/LarrySolesbee)\
**Post date:** [February 9, 2026, 3:28am UTC](https://community.textexpander.com/t/adding-a-the-0-before-single-digit-dates/543/2 "2026-02-09T03:28:37Z")

</div>

In the calendar macro, use (month 01) and (day 01) instead of (month 1) and (day 1)

---

<div class="post-metadata">

**Author:** ![RyanSodziak](https://sea3.discourse-cdn.com/textexpander/user_avatar/community.textexpander.com/ryansodziak/32/208_2.png) [@RyanSodziak](https://community.textexpander.com/u/RyanSodziak)\
**Post date:** [February 9, 2026, 4:54am UTC](https://community.textexpander.com/t/adding-a-the-0-before-single-digit-dates/543/3 "2026-02-09T04:54:58Z")

</div>

OMG I can’t believe I didn’t notice that. That’s rather embarrassing. Thanks for pointing it out.

---

<div class="post-metadata">

**Author:** ![KenGranger](https://sea3.discourse-cdn.com/textexpander/user_avatar/community.textexpander.com/kengranger/32/941_2.png) [@KenGranger](https://community.textexpander.com/u/KenGranger)\
**Post date:** [November 17, 2026, 8:06pm UTC](https://community.textexpander.com/t/adding-a-the-0-before-single-digit-dates/543/4 "2026-11-17T20:06:02Z")

</div>

Been there, done that!
