I am trying to get the user's timezone time. not the time set by the user locally. because that will cause many problems in my app.
I tried:-
var date = new Date()
var offsetInMin = date.getTimezoneOffset()
But it just shows the difference between the local time zone and the UTC.
Is there a way to get the timezone's(for me Kolkata) time rather than the local time of the device?
I found some APIs but it would be better to do it without APIs..