S steve Aug 5, 2004 #1 Hello , does anyone know of a method/way to get the number of days between two dates? TIA
M Matt Aug 5, 2004 #3 DateDiff(DateInterval.Day, dtmStart, dtmEnd) Obviously you have to assign values to dtmStart and dtmEnd. dtmStart is your starting date and dtmEnd is the ending date. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctdatediff.asp Where dtm1
DateDiff(DateInterval.Day, dtmStart, dtmEnd) Obviously you have to assign values to dtmStart and dtmEnd. dtmStart is your starting date and dtmEnd is the ending date. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctdatediff.asp Where dtm1
T Tom Shelton Aug 5, 2004 #4 Hello , does anyone know of a method/way to get the number of days between two dates? TIA Click to expand... As noted in other posts, you can use the DateDif function - but you can also use the methods of the date object... Specifically, Subtract
Hello , does anyone know of a method/way to get the number of days between two dates? TIA Click to expand... As noted in other posts, you can use the DateDif function - but you can also use the methods of the date object... Specifically, Subtract