Author Topic: Date format  (Read 1689 times)

Offline Dewcal

  • Member
  • **
  • Posts: 69
    • View Profile
Date format
« on: August 12, 2022, 05:55:04 AM »
Using PMP on Win 11, I wish to show date taken when exporting images to the web. I currently have the "PM Classic Plus" export set up to use the variable {date} and this shows the shot date as 11/8/22.  Is there a variable or method I can use to show the date as 11th August 2022?
Thanks for any help.

Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 973
    • View Profile
Re: Date format
« Reply #1 on: August 12, 2022, 09:57:23 AM »
There are no variables for the ordinal form of a number, but there are variables for all components of date and time. In this case {day} monthname} {year4} would be the ones you want. All variables and their functionality can be found here: https://docs.camerabits.com/support/solutions/articles/48000358438-list-of-photo-mechanic-variables

For ordinal numbers, you can create a code replacement file to replace a number with its ordinal version, using the day variable within your code replacement delimiters to return the ordinal version. You can see that in practice under the "Code Replacement in Variables" Section here: https://docs.camerabits.com/support/solutions/articles/48000223660-introduction-to-code-replacements-in-photo-mechanic

Offline Dewcal

  • Member
  • **
  • Posts: 69
    • View Profile
Re: Date format
« Reply #2 on: August 12, 2022, 10:00:29 AM »
Many thanks for your help - appreciated.