# Action For Year Field

**URL:** <https://community.mp3tag.de/t/action-for-year-field/52386>\
**Category:** Support\
**Created:** [March 16, 2021, 7:08am UTC](https://community.mp3tag.de/t/action-for-year-field/52386 "2021-03-16T07:08:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smudger](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/85f322/32.png) [@Smudger](https://community.mp3tag.de/u/Smudger)\
**Post date:** [March 16, 2021, 7:08am UTC](https://community.mp3tag.de/t/action-for-year-field/52386/1 "2021-03-16T07:08:30Z")

</div>

Hiya All

Sometimes my 'YEAR' field displays it as eg 12/03/2021, is there a way please via an action to have it just as the year 2021 or whatever the year may be

thanks

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [March 16, 2021, 8:19am UTC](https://community.mp3tag.de/t/action-for-year-field/52386/2 "2021-03-16T08:19:32Z")

</div>

You could try an action of the type "Replace with regular expression" for YEAR  
Search string: `\d\d/\d\d/(\d\d\d\d)`  
(or shorter: `\d*/(\d*?)`  
Replace string: $1

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [March 16, 2021, 9:40am UTC](https://community.mp3tag.de/t/action-for-year-field/52386/3 "2021-03-16T09:40:58Z")

</div>

Yu can take the converter Tag-\>Tag:

Field YEAR  
Format String: $right(%year%,4)

or an equivalent action of the type Format Value with the same parameters.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:29pm UTC](https://community.mp3tag.de/t/action-for-year-field/52386/4 "2026-02-09T12:29:07Z")

</div>


