Displaying messaging based on a value returned by calculating difference between two dates. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Displaying messaging based on a value returned by calculating difference between two dates.

2 dates are input by user date of birth and date when a vaccines is given. then 2 dates are subtracted and result displayed in a text box. I am able to do accomplish these tasks, what I am not do is to display a conditional message based on the number of days returned. I have a criteria which is as under if days > 0 & < 29 message should say " ok" else if days > 28 message should say " not ok" Is there a way to post a code? i can post the code here if needed

21st Jan 2017, 1:05 PM
Muhammad Asad Khan
Muhammad Asad Khan - avatar
1 Answer
0
anybody?
30th Jan 2017, 3:49 PM
Muhammad Asad Khan
Muhammad Asad Khan - avatar