INTERACT FORUM

More => Old Versions => Media Jukebox => Topic started by: mushroomcounter on October 18, 2011, 04:52:38 am

Title: Using short date format when renaming files
Post by: mushroomcounter 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.
Title: Re: Using short date format when renaming files
Post by: MrC 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 (http://wiki.jriver.com/index.php/Media_Center_expression_language#FormatDate.28....29:_Formats_a_date_value_in_a_specified_manner)
File Properties (tags) (http://wiki.jriver.com/index.php/File_Properties_%28tags%29#Predefined_Fields)
Title: Re: Using short date format when renaming files
Post by: mushroomcounter 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 (http://wiki.jriver.com/index.php/Media_Center_expression_language#FormatDate.28....29:_Formats_a_date_value_in_a_specified_manner)
File Properties (tags) (http://wiki.jriver.com/index.php/File_Properties_%28tags%29#Predefined_Fields)
Many thanks - this is great.