Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
datetime_diff/2
Description
datetime_diff/2 is an Erlang function exported by "age_calendar" module.
Returns the difference in seconds between two time stamps.
References
None
Parameters
Name
Type
DateTime1
tuple()
Date and time stamp one
DateTime2
Date and time stamp two
Result
Value or Type
integer()