Skip to main content



MillisecondDiff Function

The MillisecondDiff function returns the number of milliseconds between two DateTime values.

Syntax​

MillisecondDiff(start, end)

The MillisecondDiff function returns the number of milliseconds between two DateTime values.

Arguments​

start DateTime - The starting DateTime expression.

end DateTime - The ending DateTime expression.

Remarks​

Example:

MillisecondDiff("1/28/2005 9:43:51 AM", "1/29/2005 9:45:59 AM"); // returns 86528000