To days

From SmartWiki
Revision as of 11:38, 29 April 2013 by Arthur Lathrop (talk | contribs) (To_days Functions)

Jump to: navigation, search

To_days Functions

This function is an addition to the other date functions such as Hour() and Minute().

The syntax is

 To_days()

Example 1: will return the today as an integer.


 To_days(now())

This is helpful in order to find the amount of days it took for an activity.

Example: Calculate the number of days between startdate and enddate.

 (To_days(enddate)-To_days(startdate))