Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_calendar
date_diff/2
Description
date_diff/2 is an Erlang function exported by "age_calendar" module.
Returns the difference in seconds between two date stamps.
References
None
Parameters
Name
Type
Date1
tuple()
Date one
Date2
Date two
Result
Value or Type
integer()
Returns number of seconds between two dates.