Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

get current date and time in javascript for given lat long

Tags:

javascript

I develop a coupon application using javascript, am new to this. I need to get the current date and time for given lat and long position in javascript. Anybody know,kindly suggest me. Thanks

like image 693
Shalini Avatar asked Dec 05 '25 23:12

Shalini


1 Answers

Perhaps, determine the timezone (see Timezone lookup from latitude longitude) and translate the current UTC time?

like image 182
Alexander Pavlov Avatar answered Dec 07 '25 12:12

Alexander Pavlov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!