How to get the IST current date and time using java script with out help of local client system time.
var dt = new Date();
var time = dt.getHours() + ":" + dt.getMinutes() + ":" + dt.getSeconds();
$("#dbTimeIn").val(time);
$("#dbTimeOut").val(time);
How to get the IST current date and time using java script with out help of local client system time.
var dt = new Date();
var time = dt.getHours() + ":" + dt.getMinutes() + ":" + dt.getSeconds();
$("#dbTimeIn").val(time);
$("#dbTimeOut").val(time);
 
    
    Last time I checked there is no Javascript library that correctly parses the Olson Timezone Database, and there is no native support for it either, so if you want this, I'm afraid you'll have to implement it yourself.
You would do a great many people a favor if you did write a library which does this. Be weary of libraries that claim they do, like timezone-js, cause they actually don't work.
