Public
Like
isInTimeSpan
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Checks if provided time is within the timeframe of the provided time span.
Parameters:
time
- The date to check if it's within the time span.timespan
- The time span to check the providedtime
against. Returns: A value indicating whether the provided time is within the provided time span.
Represents a span of time with a starting point and a duration in minutes.
Migrated from folder: HomeAutomation/Helpers/isInTimeSpan