FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
xkonti
xkontiisInTimeSpan
Public
Like
isInTimeSpan
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
8/17/2023
README.md

'isInTimeSpan` function

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 provided time against. Returns: A value indicating whether the provided time is within the provided time span.

TimeSpan type

Represents a span of time with a starting point and a duration in minutes.

Migrated from folder: HomeAutomation/Helpers/isInTimeSpan

Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.