35
Views
4
Comments
Timer
Application Type
Traditional Web

Hi, I need to run the timer from 1st Jan 2023 to march 23rd. So i have put the below logics. Can you please let me the is this the correct one.

2025-10-14 07-47-46
Win Signo

You can make this more dynamic by using a Site property or another entity that stores the date from and date to, so that you can change it if needed,

UserImage.jpg
Radha M A Krishna

@Win Signo  You mean i need to put site property here 

And then in service centre i have to change date directly and run Right?

2025-10-14 07-47-46
Win Signo

Yes, that way, the code can be change without a need to publish.

2023-04-06 11-24-23
Paulo Zacarias

Hi Radha, 


I agree with what @Win Signo said, we should always avoid hard-coded values in our code.

For the timer best practices, you can check this masterclass:

https://www.outsystems.com/training/lesson/1133/master-class-on-best-practices-and-timers

You will get some tips and knowledge on how to implement the timers logic correctly.


Regards, 

PZ

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