Check if a date is greater than specified date vb.net : I want to check if a date is greater than a specified date using vb.net.

The same thing i got working in the following :

http://stackoverflow.com/questions/38344471/check-if-a-date-is-greater-than-specified-date/38344660?noredirect=1#comment64104240_38344660

but the above is using javascript.

I did it using javascript as :

    var Jun16 = new Date('JUN-2016')
    var SelectedDate=new Date("<% =session("month")%>" + "-" + "<% =session("yrs")%>")
    
    if(SelectedDate.getTime() > Jun16.getTime())
    {
    grossinc=parseInt("<% =rset1("othermontize_benefit") %>") + parseInt("<% =rset1("basic") %>") + parseInt("<% =rset1("house") %>") + parseInt("<% =rset1("utility") %>")
    }
    else
    {
    grossinc=parseInt("<% =rset1("gross") %>") + parseInt("<% =rset1("bonus") %>") + parseInt("<% =rset1("arrears") %>") + parseInt("<% =rset1("ot") %>")
    
    }

How can I get the same in Vb script.

Thanks.
