DateCalc Op
Perform date calculations
Summary (oneliner)
<p>This Op lets you perform date calculations. Adding and subtracting seconds, minutes, hours, days, months or years to the input date. No dependencies. Sample patch: <a href="https://cables.gl/edit/mzfGGl">https://cables.gl/edit/mzfGGl</a></p>
- Ops.Date.DateCalc
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
<p>Unix timestamp. eg. from the DateAndTime op. If empty, current timestamp is used</p>
<i>integer</i>
)<p>Number of days / months / .... to add</p>
<i>integer</i>
)<p>Update time value (not needed if an timestamp input is used)</p>
OUTPUT PORTS
<p>The calculated date in JS Date format</p>
<p>The calculated date in timestamp (milliseconds) format</p>
Patches using DateCalc
Known Issues
There is a dependency on moment.js, but it's not used. I can't find where to remove the dependency
Changelog
created op | GeertVanDamme - 2020-10-27 10:38 | |
added lib: moment.js | GeertVanDamme - 2020-10-27 15:17 | |
cloned op from Ops.User.GeertVanDamme.DateCalc | GeertVanDamme - 2020-11-17 21:39 |