Skip to main content

Date.date_diff

date_diffend period

Group: DateTime

Documentation

Computes a time difference between the two dates. It returns an integer expressing how many periods fit between the two dates. The difference will be positive if end is greater than self. Produces a warning for a Date that is before epoch start. See Date_Time.enso_epoch_start.

Arguments

  • end: A date to compute the difference from.
  • period: The period to compute the difference in.