Can InDesign return the week day to a given date?
Hello all,
I am working regularly on event brochures with 200++ events which are cross-referenced several times throughout the document. Often times, in the original data that I get from clients, week days get confused. For example, the script says: Friday, Feb 25th 2017. Unfortunately though, that would have been a Saturday …
I was wondering, if I could make InDesign take the date like a variable? I would write down every date like this: DD.MM.YYYY (since I am in Germany that would be our format). Through magic/witch craft, InDesign could recognize the variable and handle it according to my character-/paragraph-/ or GREP-styles. InDesign would then generate the output: "Samstag, 25.02.17", or "SA 25", or "25. Februar 2017", or "02/25/17", or however I specify the date to be displayed in that table/paragraph/document.
Since week days can be calculated, it should be quite easy? But I haven´t found any solution yet.
If this doesn´t exist or work at all: Do you know any script which will scan a text and – if it recognizes a date – will display the according week day in a tool tip?
Thanks a lot for any input!
Kind regards,
Martin
