Object function reference
date_diff
A reference entry for date_diff
date_diff(string date, string format) ⇒ number
Compares this date against another. The format value is optional but if specified it can have one of four values: hours, minutes, seconds or days. This lets the function know what to return the number of. By default the format is days.