Creating a Distance-Aware Clock Software

  • Thread starter Thread starter shubhra shankha
  • Start date Start date
  • Tags Tags
    Clock Software
Click For Summary

Discussion Overview

The discussion centers around the creation of a clock software that adjusts its time based on the user's distance and direction of travel. Participants explore the feasibility of such a project, potential technologies involved, and the necessary programming considerations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant proposes a clock software that changes time based on distance traveled, using an example of traveling from India to London.
  • Some participants suggest that GPS technology could solve the problem by providing location data to adjust the time accordingly.
  • There is a discussion about the need for a sensor to determine the laptop's location, with questions about what kind of sensor would be appropriate.
  • One participant argues that the problem is non-existent, stating that applying the time zone difference upon reaching the destination is sufficient.
  • Another participant mentions that existing GPS receivers can provide the necessary location data to adjust time automatically.
  • Some participants express frustration over requests for code without sufficient context or understanding of the project requirements.
  • There is a suggestion that a simple connection to the internet and a time server could suffice for time adjustment without GPS.
  • Concerns are raised about the accuracy of time adjustments when using internet-based solutions over long distances.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to creating the clock software. There are multiple competing views regarding the necessity of GPS, internet connections, and the overall complexity of the project.

Contextual Notes

Participants express varying levels of understanding regarding programming and the technical requirements for the project. There are unresolved questions about the specific implementation details and the assumptions underlying the proposed solutions.

Who May Find This Useful

Individuals interested in software development, GPS technology, and time zone management may find this discussion relevant.

shubhra shankha
Messages
5
Reaction score
0
I m going to create a new clock software which can change its time with respect to distance and direction.
Suppose if a person is in India and he starts his journey off towards london.suppose he starts at 7:00 am(ist). suppose it takes him 8 hrs to reach london. so after reaching london hic watch will show 3:00 pm. but the time at london will be 9:30 am, as because we know that the time difference between london and India is 5:30 hrs.

I just want to know that whether any software created which can solve this problem if yes then please send me the code and if not then wait i m very close to my Dream project.
thanks.
 
Computer science news on Phys.org
GPS solves that too
 
lalbatros said:
GPS solves that too



Please tell me the answer and the code
 
shubhra shankha said:
Please tell me the answer and the code

:smile: That was short and to the point.
 
code for what? What are you programming in? What is it on? Is it going to be on a laptop? A piece of wearable computing?
 
The code for the above question(The digital clock). First it is going to be on a laptop then it has to be converted on a clock.
 
You are going to write it in machine language for a specific microprocessor?
 
no i am just creating the software with a sensor attatched with the system(pessonal computer). so no machine lang for a specific microprocessor.
 
How is the laptop supposed to know where it is at? What kind of sensor is it going to have? You need a little bit more than "the code."

Your question would be like me asking, "How do you drive?" and then expecting someone to tell me everything about how to drive. If you want to develop a system for this, then develop a system. If you're looking for a quick and easy solution to your problem then search the web for a program that does this. My cell phone automatically changes the time depending on where I am, but it requires a connection. You will probably want to get a GPS that comes with software that does exactly what you're looking for. Or perhaps you can get the software separately.
 
  • #10
This is a non-existent problem. All you need to do is apply the time zone difference once the destination is reached.
 
  • #11
sir, tell me something that i can make my project. give me some hint. U have said that GPS solves that too, so whatever GPS has solves , please show me. If there is any picture of that please send me. I will be very thankful to you.
 
  • #12
GPS give you your position, from which you can find your time zone.

As far as getting people to do your programming for you -- good luck. :rolleyes:
 
  • #13
shubhra shankha said:
sir, tell me something that i can make my project. give me some hint. U have said that GPS solves that too, so whatever GPS has solves , please show me. If there is any picture of that please send me. I will be very thankful to you.

GPS solved the problem by launching a constellation of dozens of satellites which broadcast signals to receivers located on the ground. The receiver knows what time zone it is in based on the latitude and longitude it calculates from signals from the satellites.

It isn't solved by a piece of code, nor could it be. If you carry a computer across a time-zone boundary, it must have some way of knowing you've moved it to be able to adjust its time. The computer by itself has no way of knowing about its movements without equipping it with something like a GPS receiver.

There are many GPS receivers which you can connect to a PC. It'd be pretty simple to change the time when moving from one time zone to another. In fact, I'd bet money that the software packages which come with such GPS receivers already do it.

Although english is probably not your first language, your attitude is very poor. No one is going to just give you any code to do anything.

- Warren
 
  • #14
I m going to create a new clock software which can change its time with respect to distance and direction.

I think you are looking for a program in which you input your old an new locations and it looks into a database of locations and automatically changes the time of display to match the difference in time zones?

The clock built into any version of windows will do this. The question of how to recreate it is a question of whether we can access a library of locations and coordinates, and of timezones. Once you have the look up table it should be simple to code in any language, perhaps java if you are looking at a handheld device.

If you want it to change times without input of the user, this requires a device to connect to a Global Positioning Satellite.
 
  • #15
This doesn't need a GPS connection... just a connection to the internet and a time server... like time.gov. Windows xp and vista I believe can read country codes/time zones depending on the tracert of the ip address and auto correct.

so... good luck.
 
  • #16
But that can give the wrong time if you connect long distance
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 70 ·
3
Replies
70
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
7
Views
1K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 114 ·
4
Replies
114
Views
11K
  • · Replies 37 ·
2
Replies
37
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K