title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 3 of 3

Thread: Dynamic Naming, Getting the current Month

  1. #1

    Dynamic Naming, Getting the current Month

    Hello,
    I save my ripped CDs in a folder named after the year and month they were ripped.
    for Example: Music\202105\AlbumArtist_Album\Yadda Yadda

    I am trying to setup a dynamic naming template to do just that.
    Currently I have:
    [now_year][Grab],1,2,[date][]\[album_artist]_[album]\etc...

    Since the format of [date] is M-D-YYYY..., I am getting "5-" for May. I tried to do a [REPLACE] on the [date] values to replace 5- with 05, so i could then [GRAB] it. That didn't work.
    Is there a variable for current Month that i should use? Is there another way to do this, that I'm missing.

    Thanks

  2. #2
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    3,888

    Re: Dynamic Naming, Getting the current Month

    On my Windows 10 Pro PC, the date format for [date] is dd/MM/yyyy.

    This is the OS short date format specified in: Control Panel > Region

    Try changing the OS short date format to MM-DD-YYYY and using [GRAB]1,2,[date][].

    ... and if you can't change the short date format M-D-YYYY, try this:
    [IF][GRAB]2,2,[date][],=,-,0[GRAB]1,1,[date][],[GRAB]1,2,[date][]
    Last edited by mville; 05-20-2021 at 12:45 PM. Reason: added a workaround

  3. #3

    Re: Dynamic Naming, Getting the current Month

    Quote Originally Posted by mville View Post
    On my Windows 10 Pro PC, the date format for [date] is dd/MM/yyyy.

    This is the OS short date format specified in: Control Panel > Region

    Try changing the OS short date format to MM-DD-YYYY and using [GRAB]1,2,[date][].

    ... and if you can't change the short date format M-D-YYYY, try this:
    [IF][GRAB]2,2,[date][],=,-,0[GRAB]1,1,[date][],[GRAB]1,2,[date][]
    What!? That makes sense. I've journeyed to that config panel to make similar changes for Excel.
    Thank you so much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •