How do I check if a particular date then do something


Guest

Is there a way I can check if a current date equals 17/11/2016 then do this else do thing. Any sample here will be appreciated.

Thanks.


DecSoft

Hello Kasito,

Take a look at the below code and post here any further question:



Guest

That is not what I meant. See my example

If "NowDate" "==" "17/11/2016"
//do some action
Else
//do nothing
EndIf

How do I get the current date on a device and store in a Var, then do the comparison .


DecSoft

Hello Kasito,

Sorry, but I think the above code is exactly what you means... we get the "now" date and compare it with your provided one. Then we do something if the date is equal or other thing when not.

Maybe I am missunderstanding something?



Guest

Ok. Will try and get back to you. David


DecSoft

Hello,

Ok. Will try and get back to you. David

Just post here if you have any further question Kasito.


Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.