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.
getMomentStamp(end?:any,dimension?:any):number
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.
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.