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.
I am currently working with moment.js liberary but have no idea how to calculate it. Any help would be much appreciated.