score:0
for this particular problem you can use a service, like freegeoip.net
or geoplugin.net
for more info, please refer this page
what you have to do is send a request(via xhr or whatever you're using in the backend) along with the user's ip to their service as follows :
freegeoip.net/json/<user-ip>
| geoplugin.net/json.gp?ip=<user-ip>
or
you can use date() object to retrieve the users current day, date, time and post it back to your server to update your app ..
edit
the problem with ip address is it's not reliable, what if the user is behind a vpn or any other anonymous proxy service like tor, so the ip address received is not very much of help to you. perhaps sending the users details(time and location) via setting a header in the request would be more reliable.
Source: stackoverflow.com
Related Query
- How to detect the correct date format in highcharts
- How to get the correct the date-time format for highcharts in R (using rcharts)
- How to add the years in xAxis date format while exporting? Also how to add the data source during the exporting?
- How to format the export button in Highcharts
- how to display 2 same highcharts without duplicate the code
- How to add exporting date and time as user format in Highcharts exporter?
- How can I convert datetime stamp in jQuery of a Highchart to get the correct format in json?
- How to use jspdf to print and download the multiple highcharts contents in pdf format
- How to tell Highcharts to set date on the x axis, and use a range of time (like 1 day)
- yii highcharts how to set date format in x-axis
- React: How to show correct date and plot data as Months in Highcharts
- Tooltip in Highcharts doesn't show the right format for Date
- How to format the xAxis of Highcharts
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Fomatting the Highcharts date with correct month
- How to pass the correct data format from SQL to PHP
- How to format the series data date value to compare with database field?
- How to call another function on changing the time range selector and date selector in Highcharts stock?
- How to display Date in Highcharts tooltip or below the categories
- how can I use rangeselector and navigation in highcharts in the given code
- How can I format the Highcharts gantt chart to be a dashed line instead of a solid line?
- HIGHCHARTS - Given a series with UNIX stamps and values pairs for the data, how do I show only the date for the first and last point on xAxis?
- how to display the date at X axis and other column at y axis in highcharts
- How to get highcharts dates in the x axis?
- HighCharts - How can I turn off the points?
- How do you change the colour of each category within a highcharts column chart?
- How can I change the colors of my highcharts piechart?
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- Customize tooltip and format the number to 2 decimal places of highcharts
- What format does the highcharts js library accept for dates?
More Query from same tag
- Change the zoom Type dynamically?
- Highchart Renderer By min and max
- highchart not shown data graph
- Tooltip: how do I retrieve the position of the point when the mouse hover it?
- Highcharts.js question: is it possible to add blank space from the left and right side of chart that will be visible only during panning?
- Highcharts - choosing the legend size
- How to position the navigator series in highstock?
- Dynamic creation og Highcharts in Angularjs
- HighStock Navigator Handles are not moving
- How to access angular scope variable in JavaScript file
- Getting data from Mysql for highstock area graph.
- Is there a way to save highcharts output as png instead of html
- Disable Plotpoint legend on hover in Highcharts
- How to remove a series in Highcharts by name
- Data not appearing in HighChart
- Highcharts - zoom xAxis and pan along axis
- Redraw same highchart
- Highcharts: Not showing values, datetime type
- How can you change the length of the dial radius of a gauge that is already rendered?
- Highstock navigator does not work when also importing "highcharts-more" file
- Highchart xAxis plotbad with specific heigth
- 413 Request Entity Too Large HighCharts
- Using arearange series in highchart on inverted graphs
- Counting json data to create dynamic series in highchart line charts
- How to call a css properties inside plotLines in highcharts
- Can color of data label be different inside and outside of the bar in Highchart
- Highchart / Highstock stack column chart show one series's tooltip at a time
- Highcharts setData on pie chart not working
- Highcharts credits link not working when exporting as PDF
- putting a semi-transparent div over a highcharts graph