# Script: Create custom date register

**URL:** <https://discourse.devontechnologies.com/t/script-create-custom-date-register/62597>\
**Category:** Automation\
**Created:** [March 1, 2021, 4:39pm UTC](https://discourse.devontechnologies.com/t/script-create-custom-date-register/62597 "2021-03-01T16:39:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pete31](https://discourse.devontechnologies.com/letter_avatar_proxy/v4/letter/p/d26b3c/32.png) [@pete31](https://discourse.devontechnologies.com/u/pete31)\
**Post date:** [March 3, 2021, 12:54pm UTC](https://discourse.devontechnologies.com/t/script-create-custom-date-register/62597/3 "2021-03-03T12:54:29Z")

</div>

> [@DTLow](#):
>
> I’m interested in hearing about the uses for such a register structure

See e.g. [Historical Jounals](https://discourse.devontechnologies.com/t/historical-jounals/62537).

I use `YYYY-MM-DD` structures wherever I need chronological order and create them via selected records’ creation dates (which were set to e.g. the publication dates) - but obviously one first needs records to create a structure this way.

With the script it’s possible to create an empty structure and fill it afterwards. It’s also nice to provide custom strings to be able to differentiate groups, especially in search results.

---

_[View the full topic](https://discourse.devontechnologies.com/t/script-create-custom-date-register/62597)._
