127
Views
6
Comments
about Currdate
Question

I'd like to change the date in the process using Currdate and test it, but Currdate can't do it, right?

2020-05-07 18-53-00
Rui Barradas
 
MVP

Hi Biginner,

Hope you're doing well!

Can you please give us more detail about what do you want to achieve?


Kind regards,

Rui Barradas

UserImage.jpg
Biginner

Rui Barradas wrote:

Hi Biginner,

Hope you're doing well!

Can you please give us more detail about what do you want to achieve?


Kind regards,

Rui Barradas

 It is implemented to output a pop-up message only on a specific date (3rd day). I'd like to do that test, but I can't wait for the next three days, so if there's a way to change the Currdate, please let me know. 

 

2024-06-19 07-19-32
JitendraYadav

Hi,


Yes, you can add 3 days in the date using date functional available in OutSystems,

https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Logic/Built-in_Functions/Date_and_Time

Thanks

2024-02-16 07-43-18
Amit Verma

Hi Biginner,

Please use AddDays function to get specific day that you want.

Refer screen shot :

Outsystems Provide so many Build-In-Functions :


Hope this will help you :)

Please let me know if you have any queries.

- AV

Thanks

2023-03-09 07-10-59
Vipasha Sharma

Hi,

You can use below function to achieve that:

AddDays(DateTime, Integer)Adds 'n' days to 'dt' and returns a valid Date Time.


AddDays(CurrDate(),3)

Here 3 is number of day which will be added in current day.

Hope this will help you,

Regards,

Vipasha

2026-01-26 10-25-31
Lennart Kraak
Champion

Hi Biginner,

You're right, CurrDate() always returns the current date, so today.

To test your popup, you've to write some specific code to mimic the date 3 days from now, as all the answers above show you.

Regards,
Lennart

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.