# Custom date format as text-tag

**URL:** <https://community.homey.app/t/custom-date-format-as-text-tag/90344>\
**Category:** Flows\
**Tags:** homey-pro, advancedflow\
**Created:** [September 27, 2023, 6:57am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344 "2023-09-27T06:57:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tjar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tjar/32/61177_2.png) [@Tjar](https://community.homey.app/u/Tjar)\
**Post date:** [September 27, 2023, 6:57am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/1 "2023-09-27T06:57:51Z")

</div>

Hi all,

In a advanced flow I would like to have the date as yyyy-mm-dd, but I just cant get it to work.

Does anyone know how to get this working? I would like t get a text -tag as output for the next flow block.

Best regards,

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [September 27, 2023, 7:03am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/2 "2023-09-27T07:03:26Z")

</div>

You can get formatted date with:

> [@\[APP\]\[Pro\] Better Logic Library - Just some better logic, variable and library management](https://community.homey.app/t/app-pro-better-logic-library-just-some-better-logic-variable-and-library-management/5568):
>
> Now in Test/Review: Rebranding BL to: [Better Logic Library 2.0](https://homey.app/nl-nl/app/net.i-dev.betterlogic/Better-Logic-Library/test/). The Better Logic App has been rebranded to Better Logic Library. Check out the new App Settings for the new features, like BLL coding in [supported apps](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876/4)! Submitted for review by Athom now! See [[APP][Pro] Better Logic Library - For Users - Apps - Homey Community Forum](https://community.homey.app/t/app-pro-better-logic-library-for-users/71876)[[APP][Pro] Better Logic Library - For developers - Apps - Homey Community Forum](https://community.homey.app/t/app-pro-better-logic-library-for-developers/71761) BLL has been updated to sdk3 to get everything up and running ag…

---

<div class="post-metadata">

**Author:** ![Tjar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tjar/32/61177_2.png) [@Tjar](https://community.homey.app/u/Tjar)\
**Post date:** [September 27, 2023, 10:37am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/3 "2023-09-27T10:37:06Z")

</div>

Hi @OH2TH,

Thank you for the reply. I have seen the card with the BLL expression but I cant get the expression in such way that it’s accepter. It just outputs the expression as text.

Oh wait i dont use the ‘[’ brackets… let me try it out first.

Best regards,

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 27, 2023, 1:12pm UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/4 "2023-09-27T13:12:57Z")

</div>

You can use this card in Adv flow:

 ![Screenshot_20230927-152041_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/5/85e3d1c4a524e44174fc970d93f6c61a9ee8f36d.jpeg)

It works, but you’ll have to select your entered custom value from the top of the dropdown  
(And mm = minutes, use MM)

 ![Screenshot_20230927-151725_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/1/219137afaab61560503ec2414583871d2ed0a286.jpeg)

---

<div class="post-metadata">

**Author:** ![Tjar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tjar/32/61177_2.png) [@Tjar](https://community.homey.app/u/Tjar)\
**Post date:** [September 28, 2023, 10:25am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/5 "2023-09-28T10:25:52Z")

</div>

hi @Peter_Kawa ,

It seems that the date format is region depending. I only have dd-MM-yyyy.

![homey date](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ec12ab6d61058496dbf49baa72b3aaf238194c3a.png)

Best regards,

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [September 28, 2023, 11:25am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/6 "2023-09-28T11:25:23Z")

</div>

Just type in the box yyyy-MM-dd

Once it is there, you can select it as a custom format. Just as @Peter_Kawa wrote above.

---

<div class="post-metadata">

**Author:** ![Tjar](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tjar/32/61177_2.png) [@Tjar](https://community.homey.app/u/Tjar)\
**Post date:** [September 29, 2023, 6:58am UTC](https://community.homey.app/t/custom-date-format-as-text-tag/90344/7 "2023-09-29T06:58:19Z")

</div>

Hi @OH2TH ,

Strange now the format shows up. It did not before 🥴

Thank you for your help.

Best regards,
