I’m trying to do a Datediff in VB.Net thats confusing me.
Basically I’m trying to do the following.
If DateDiff("D", Today(), rsData("Start")) > 0 Then
This is working fine when comparing the value from SQL with todays date. I however need to convert this to check the current month and if it matches then return whatever I’m trying to show below.
The SQL field format is as follows – 2012-01-03 00:00:00.0000000
Thanks!
1 Answer