Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Index Date Format?
26-11-2023, 15:11
Post: #1
Index Date Format?
I have been playing around with the IndexDate format setting and have a few questions.

Here's my current setting for indexdate format: IndexDate.indexFormat={$date^|^| $origyear^^ ,

Q1: How can I add a label to the date so the results show Release Date:1957
Q2: How can I format to results of only show the 4 digit date

Attached is an example of the results I have now.    
Find all posts by this user
Quote this message in a reply
26-11-2023, 21:59
Post: #2
RE: Index Date Format?
I'm not entirely sure I follow as the attached image doesn't reflect your indexDate and looks more like an album listing, but I'll try and answer your questions and if I've misunderstood anything just let me know.

(26-11-2023 15:11)aspaceintime Wrote:  Q1: How can I add a label to the date so the results show Release Date:1957
If you're asking to add it to the indexFormat then:
$date^Release Date: ^

(26-11-2023 15:11)aspaceintime Wrote:  Q2: How can I format to results of only show the 4 digit date
To only display YYYY in indexes, you'd use the tagOption:
tagOptions: Date.yearOnly.index
Find all posts by this user
Quote this message in a reply
27-11-2023, 13:44
Post: #3
RE: Index Date Format?
That did what I was looking for. Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)