# Script/Format to Extract Month from Year for Track Number

**URL:** https://community.mp3tag.de/t/script-format-to-extract-month-from-year-for-track-number/68482
**Category:** Mac
**Created:** [May 13, 2025, 8:04am UTC](https://community.mp3tag.de/t/script-format-to-extract-month-from-year-for-track-number/68482 "2025-05-13T08:04:40Z")
**Posts on this page:** 1
**Showing post:** 19

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [May 14, 2025, 11:29am UTC](https://community.mp3tag.de/t/script-format-to-extract-month-from-year-for-track-number/68482/19 "2025-05-14T11:29:31Z")

</div>

Why would you use YEAR as field? I thought you want to copy the month part to the TRACK field. If so, you'd need to use TRACK as field.

As I wrote before:

> [@Florian](#):
>
> Given that `YEAR` is stored as `YYYY-MM-DD`, you can use **Convert → Tag - Tag** for field `TRACK` using `$mid(%year%,6,2)` as formatstring.

---

_[View the full topic](https://community.mp3tag.de/t/script-format-to-extract-month-from-year-for-track-number/68482)._
