Current date on Script Field

Lucene expressions, which is the default scripting language, does not support date math. For date support, you can switch to Groovy, using dynamic (insecure!) or static scripts.