Date difference using VB.Net function

How to check date difference using VB.Net function between current date and past date

For VB.NET try searching Google before. It has a lot of examples

hello @MaheshShelke
you can use Datediff function .

HI @MaheshShelke

follow as below

Thanks