- 0
[Javascript] Is British Summer Time in effect?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Microsoft introduces TypeScript 5.4: Explore the latest features and enhancements
By zikalify,
- microsoft
- typescript
- (and 4 more)
- 11 replies
- 2 views
-
JavaScript All-in-One For Dummies (worth $24) free in exchange for your email
By News Staff,
- ebook offer
- javascript
- (and 3 more)
- 0 replies
- 3 views
-
JavaScript from Frontend to Backend ($20.99 Value) FREE for your work email
By News Staff,
- ebook offer
- sponsored
- (and 3 more)
- 0 replies
- 3 views
-
Firefox vs Chrome: Mozilla finally manages to trump Google on Windows in a decade old test 1 2
By hellowalkman,
- 33 replies
- 4 views
-
Someone got ChatGPT to run on Windows 98 and other older Windows versions by making JavaGPT
By John Callaham,
- 9 replies
- 5 views
-
Question
-Alex-
Hi all,
So I'm scratching my head here... British Summer Time runs from the last Sunday of March til the last Sunday of October. My JS-skills are not uber-fantastic.
I don't suppose any of you have a pre-written function (or feel like having a go at writing a function) to get the user's current date, check if it's between the 2 above dates, and return 0 or 1?
I'm struggling here, and it'd be a huge help if someone could point me to a relevant link or an even bigger help if somebody feels like writing a quick function for me!
Thanks guys! :)
Link to comment
Share on other sites
8 answers to this question
Recommended Posts