[5.40] Add date and time arithmetic activities
CompletedIntroduced in VertiGIS Studio Workflow 5.40
I often need to do calculations on date or time values, for instance adding a certain time interval, or converting between local time and GMT.
I know I can work with the JavaScript Date() object in workflows, but having targeted activities would make my life much easier.
0
-
We have an activity in development that might help with what you want, at least for the date aspect. It missed the 5.39 release due to a compatibility issue we needed to address with a library that it uses.
It's called Calculate Date and has the following inputs:
- Date (required): today | thisweek | thismonth | thisyear
- Use UTC time (optional, default false): boolean
- Offset Amount (optional, default zero): number
- Offset Units (required when offset amount is non-zero): day | week | month | year
It outputs the result as both a Date and a number.
1 -
Thanks, I'm looking forward to it!
1
Please sign in to leave a comment.
Comments
2 comments