How do I find out the number of days between today’s date and a different date? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I find out the number of days between today’s date and a different date?

I can subtract one date from another but if I try to use today’s date, it tells me that the date has to be an integer. If I try to change the date to an integer, it says I can’t. How can I change this?

4th Jul 2019, 2:50 PM
Lilwen
1 Answer
22nd May 2021, 3:31 PM
Lovely
Lovely - avatar