Author Topic: Is there a month and day tag?  (Read 1967 times)

stardot

  • Jr. Member
  • **
  • Posts: 32
Hi,

I want to know if there is a pre-defined month and day tag. Currently I am using the custom1 tag for month and day.

Thanks

Bee-liever

  • Member
  • Sr. Member
  • *****
  • Posts: 3830
  • MB Version: 3.6.8830 P
If you know both month and day you just add them to the year tag in the same format as your Windows settings use.
ie. USA MM/DD/YYYY
MusicBee and my library - Making bee-utiful music together

Steven

  • Administrator
  • Sr. Member
  • *****
  • Posts: 34312
using a virtual tag: $Date(<year>,"MM") will return month and $Date(<year>,"dd") will return the day

stardot

  • Jr. Member
  • **
  • Posts: 32
@Steven thanks for reply, but where do I use the virtual tag?

stardot

  • Jr. Member
  • **
  • Posts: 32
@Bee-liever Okay but I want it to be yyyy.mm, which is not the same format as my Windows.

psychoadept

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 10691
Enter it in the windows format, then use $Date to display it however you want.

https://musicbee.fandom.com/wiki/Virtual_Tags
https://musicbee.fandom.com/wiki/Functions
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.5)
(Unzip and overwrite existing program files)

smann

  • Jr. Member
  • **
  • Posts: 60
@Bee-liever Okay but I want it to be yyyy.mm, which is not the same format as my Windows.

Go to Preferences > Tags (1) > Under "custom tags", click Define New Tags... > Under one of the things called "label" name it Date, then under "formula" put $Date(<Year>,yyyy-MM-dd) and save it.

Then enable Date as a display field instead of Year. Windows does mm/dd/yyyy by default, and this will force everything to yyyy-mm-dd for the "date" as long as everything is properly filled out. All you have to do is enter this in the Year tag in the metadata.
Last Edit: July 07, 2020, 07:50:47 AM by smann