time logic in project

Saeedgh837

Client
Регистрация
09.04.2019
Сообщения
56
Благодарностей
1
Баллы
8
hi i need to add a timer into my project like this:
time 1= DateTimenow+10 min
project body
after a while
current time = Datetimenow

if
'current'>'time1'
...........


else
..........

please help me. i tried it by c# code but it works sometimes!

and sometimes not!!
 

Alexmd

Client
Регистрация
10.12.2018
Сообщения
1 021
Благодарностей
1 430
Баллы
113
I think you need something like this.
There is an example in attachment.
 

Вложения

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)