Gentee Programming Language > Documentation > Libraries Download documentation

days

The number of days between two dates.
 
int days(
      datetime   left,
      datetime   right
)

Parameters

leftThe first date for comparison.
rightThe second date for comparison.

Return value

Returns the number of days between two dates. If the first date is greater than the second one, the return value will be negative.

See also

    Function for working with time


 Copyright © 2004-2006 Gentee Inc. All rights reserved.