Responsive Ad Area

Share This Post

test

How to know if Daylight Saving Time was on a specific date in javascript

I am developing an web based interface for users that are based in UK. Currently we are saving times in GMT in our data base. But on the front end the user is entering UK date time that needs to converted to GMT. But the problem comes in conversion.

So what I want to do is develop a function in Javascript that determines on a given date if daylight saving was on or not.

I am currently working with moment.js liberary but have no idea how to calculate it. Any help would be much appreciated.


How to know if Daylight Saving Time was on a specific date in javascript
How to know if Daylight Saving Time was on a specific date in javascript
test
{$excerpt:n}

Share This Post

Leave a Reply

Your email address will not be Publishedd. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>