Returns the number of seconds between two time values. Alias for the standard library function os.difftime
.
See also Lua library functions.
Signature:
seconds
=
difftime(time2,
time1)
Arguments:
time2
- A time value (seetime()
for description) (number
)time1
- A time value (seetime()
for description) (number
)
Returns:
seconds
- Number of seconds betweentime2
andtime1
; equivalent totime2 - time1
on all current WoW clients (number
)
This function is defined in the Lua standard libraries