You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@hop.apache.org by Abacap <po...@gmx.com> on 2023/08/01 08:43:09 UTC

Re: How to get date - x days in calculator?

Thank you very much for help!





**Sent:**  Wednesday, July 26, 2023 at 10:04 PM  
**From:**  hans.van.akelyen@gmail.com  
**To:**  users@hop.apache.org  
**Subject:**  Re: How to get date - x days in calculator?

Hi There,  
  
The calculator transform has the solution for you! Though a bit a brain
scratcher...  
In the calculator you have the option to do "Date A + B Days".  
Just throw in a negative number and it will go back in time ;)  
  
Cheers,  
Hans

On 26 Jul 2023 at 19:16 +0200, podunk@gmx.com, wrote:

>  
>
>  
>
>  
>
> Why don't we find a function in the calculator to subtract a certain number
> of days from a date?
>
> For example, I have the date '2023-07-26' and I want to know what date is 3
> days back.
>
> Not number of hours, minutes or milliseconds but just want '2023-07-23'
>
> Every time I have to write javascript functions for it or do other tricks.
>
>  
>
> Or maybe I don't know something and it's possible?
>
>  
>
> Regards