Normalization rules - adding dates
It would be great if the normalization rules could be enhanced to use variables such as date, or add datestamps.
We would like the ability to insert dates into MARC notes fields via normalization rules.
Ideally inserting variables something like %DAY%/%MONTH%/%YEAR% in a rule would add today's date in the format DD/MM/YYYY once a rule is run.

-
Oki U. commented
Hi Erez,
Recent XSL versions support date functions, so I believe that should enable us to create a 005 field according to the MARC21 specifications. Thanks! -
Hello everyone,
I’d like to share our plans to introduce support for XSL (Extensible Stylesheet Language) normalization rules. This new feature is designed for handling complex normalization tasks. It offers the flexibility of a full programming language, enabling advanced data manipulation. This will complement our existing normalization rules based on DROOLS, maintaining all of its current capabilities.
Would the addition of this new type of normalization rule meet the requirements outlined in this idea? -
Oki U. commented
It would be great if the 005 field could be added in that way. The syntax would be yyyyMMddhhmmss.f - see https://www.loc.gov/marc/bibliographic/bd005.html
MarcEdit supports this with the Generate Dates command: https://marcedit.reeset.net/available-edit-mnemonics
-
Hank Young commented
I would like this also, but YYYYMMDD would be preferable for us, as it will be more helpful in sorting.
-
[Deleted User] commented
-
Joe Montibello commented
We would love to have this functionality. I personally would also appreciate it if the variables could be used in the conditions as well - so that we could do something like:
When (%DAY%/%MONTH%/%YEAR% - 30 days) > receiving_date