INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Using short date format when renaming files  (Read 1780 times)

mushroomcounter

  • Recent member
  • *
  • Posts: 6
Using short date format when renaming files
« on: October 18, 2011, 04:52:38 am »

Hi,

I'm currently using [ymd] when renaming downloaded podcasts but instead of getting (say) 2011-10-17, would like to get 111017 or 20111017 or something shorter than the 10 character "2011-10-17".

Is this possible?

Many thanks for any help.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Using short date format when renaming files
« Reply #1 on: October 18, 2011, 12:12:33 pm »

Use the expression:

   formatdate([date imported,0],yyMMdd)

as your Filename rule.

See also:

MC Expression Language reference
File Properties (tags)
Logged
The opinions I express represent my own folly.

mushroomcounter

  • Recent member
  • *
  • Posts: 6
Re: Using short date format when renaming files
« Reply #2 on: October 20, 2011, 01:13:11 am »

Use the expression:

   formatdate([date imported,0],yyMMdd)

as your Filename rule.

See also:

MC Expression Language reference
File Properties (tags)
Many thanks - this is great.
Logged
Pages: [1]   Go Up