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.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.