Calculates the moment stamp based on the given end date and dimension. The moment stamp represents the difference between the end date and the start date in the specified dimension.

  • Parameters

    • Optionalend: any

      The end date. Defaults to the current date and time.

    • Optionaldimension: any

      The dimension to calculate the difference in. Defaults to DIMENSION.

    Returns number

    • The moment stamp representing the difference between the end date and the start date.