Function: timeBucket()
Calculates the number of time buckets of the given size in the time given
Syntax
timeBucket(time, bucketSize )
Argument | Type | Description |
---|---|---|
time | DateTime | Time as a string but with a certain format - see date string format. |
bucketSize | Integer | The size of each bucket (in seconds). |