You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of the 3 integer you certainly want to add a duration to the date, enable you to specify that your 3 is 3 days.
Didn't find a way to do it for now: Date + Duration -> Date
This subject can maybe be discussed this week during Roma meeting.
Some date arithmetics are already implemented in Trevas JS.
In the case of subtraction between two dates, the return type is an integer (eg seconds).
We would like to implement addition and subtraction between a date and a number with another date as the return type.
For example, with a DATE variable of
2023-09-29
, we would like the resulting behavior:DATE + 3
→2023-10-02
The text was updated successfully, but these errors were encountered: