EmersonH.Com

Transforming Knowledge into Power

  • Increase font size
  • Default font size
  • Decrease font size
Home VB 6 Date Date Difference

Date Difference

E-mail Print

DateDiff() function will find the Difference between two Dates or two Times.

Syntax
Function DateDiff( Interval As String, Date1 As Date, Date2 As Date)

Interval may be
d -Day, y -Day of year, h -Hour, n -Minute, m -Month, s -Second, w -weekday, ww - week, yyyy -Year

Last Updated on Monday, 21 December 2009 16:56