INTERACT FORUM

Please login or register.

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

Author Topic: How to display Month as a number?  (Read 1441 times)

exodus1977

  • Recent member
  • *
  • Posts: 25
How to display Month as a number?
« on: August 29, 2010, 05:34:51 pm »

I'm trying to rename files and want the "month" tag to display as a number rather than the name of month (ie, "07" instead of "July").  How would I do that?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: How to display Month as a number?
« Reply #1 on: August 29, 2010, 05:56:50 pm »

Rename using a function to format:

FormatDate([Date, 0], MM, no date)

Outputs a 2 digit month (MM), or "no date" if there is no date available.
Logged
The opinions I express represent my own folly.

exodus1977

  • Recent member
  • *
  • Posts: 25
Re: How to display Month as a number?
« Reply #2 on: August 29, 2010, 05:59:58 pm »

Thank you so much MrC!  Exactly what I was looking for. ;D
Logged
Pages: [1]   Go Up