The original intent was to use an expression, not a script.
That said, new date functions have been added since 2014.