jcl,

There are several time and calendar functions, here:
https://manual.zorro-project.com/month

As an input, the user can currently supply offset=NOW, or any given bar offset.

It would be nice if any arbitrary date can be used as an input as well.

It can be as simple as this:
New function: void setThisDate(var Date); // This sets the Date referenced by offset=THISDATE

Now you use the newly defined offset=THISDATE to use any of these date functions with any date.

Thanks,
Andrew