Dan, try ADDDAY:

set var vIntweeks = 8 (or whatever)

(ADDDAY(.vdate, (.vIntweeks * 7) ))

Use -7 to go back in time

Regards, Alastair.

On 10/03/2022 15꞉19, Dan Goldberg wrote:

I have a need to add 8 weeks to a date variable. I looked and noticed there is not an addwk function like addday and addmon

Has anyone added a number of weeks to a date variable?

TIA

Dan Goldberg

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to rbase-l+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014EF8EF9B%40EXCHANGE10 <https://groups.google.com/d/msgid/rbase-l/2E4830CEC16615458329D3D83342F8D0014EF8EF9B%40EXCHANGE10?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/DB9PR10MB4585EA852883B93120D1FD02AC0B9%40DB9PR10MB4585.EURPRD10.PROD.OUTLOOK.COM.

Reply via email to