calinvass said:
I though we need to use SR to calculate the time difference and then wondering whether to use GR to add an extra value by adding gravity effect of its own mass. But, GR uses the spacetime concept which is already based on SR. Only SR is limited to certain problems. I was mixing gravity with SR hoping for a more accurate result, when if fact gravity doesn't even exist in this context, but the spacetime geometry makes it feel as it were a force. GR uses SR to create a 4d spacetime.
It would be best (not that people conform strictly tho what it's best) to study SR first, and GR second. So the answer to the GR part of your question can and should be put off.
Let's do a variant on your problem to illustrate where there is a potential for confusion. Let's have two identical spaceships in your universe, and no planet at all. We can either have them both at rest at some distance away, and have one of the spaceships accelerate towards the other, or we can have the two spaceships initially in relative motion, whichever seems simpler to you.
In either case, we start considering the time issue when both spaceships are at the same location in space. They compare their watches, and synchronize them. Then time passes, and the two spaceships separate.
The two spaceships cannot compare their watches directly. They have to do it through an indirect process, for instance they might watch the other spaceship through a large telescope and read a large clock, or they might exchange radio signals with encoded timestamps. The visual or radio readings obtained in this manner mean that the observed readings are always out-of-date. Mathematical computations based on some model have to be done to figure out what the clock is reading "now".
The tricky part of the problem is that each spaceship has a different concept of "now". This is frequently misunderstood, and it's hard to even get the initial idea across, as words are very slippery things, and the idea is so strange that people tend to reject the favored interpretation of what is meant by this in termis of some other unintended interpretation. Unfortunately, it's not clear how to fix this problem - you'd think there would be some set of words so precise that they'd prevent misunderstandings, but words that precise tend not to be read and fully understood.
The best way that I know of for conveying the details is to go through a rather elaborate description of exactly what signals are exchanged, and how, in order to compare the clock readings. I'll try that approach, though it's a bit long.
The following is a typical example. Let T be the time at which the two spaceships are co-located. At T+1hr, according to spaceship #1, spaceship #1 sends out a signal which encodes the time, that it is now 1 hour after T. This signal is received at spaceship #2 at T + 2hr, according to spaceship 2's clock. Spaceship #2 immediately sends a signal back to spaceship #1, encoding the fact that it was sent out at T+2hr. This signal is received by spaceship #1 at T+4hr.
You may notice a pattern here, if not I'll point it out. If either spaceship sends a signal out at time X, it is received by the other at time 2x. The factor of 2 here is for ease of exposition - the general rule is that if a spacehip sends out a signal at time X, it is received by the other spaceship at time k*X, where k is some constant that depends on the relative speed. If you'd like more detail on this general approach or justification of it, I'd suggest Bondi's very old book, "Relativity and Common Sense". The general approach is usually called k-calculus, though it only involves algebra, not calculus.
Here is how spaceship #1 interprets these facts. It sent out the signal at T+1hr, and received it at T+4hr, so the signal took 3 hours to get to spaceship #2 and come back. The speed of light is constant, spaceship #1 concludes that at T+2.5 hr, spaceship #2 was 1.5 light-hours away.
Spaceship #1 also concludes that at T+2.5 hr, spaceship #2's clock read 2.0 hours, rather than 2.5 hours, so it must have been slow.
Spaceship #2 can make exactly the same observations, and come to the same conclusion. So at this point , there is no answer to the question of which clock is running faster.
If spaceship #2 turns around and accelerates so that it rejoins spaceship #1, spaceship 2's clock will read the lower time when the reunite. If spaceship #1 turns around and accelerates so as to catch spaceship #2, spaceship #1's clock will read the lower when they re-unite.
The fundamental idea here is that each spaceship has a different concept of "now". This is called the relativity of simultaneity. There is a lot written about this - understanding this is one of the tricky points about understanding SR.
For one paper on the topic (aimed, however, at teachers rather than students), see
http://cds.cern.ch/record/571967/files/0207081.pdf, "The Challenge of overcoming deeply held student beliefs about the relativity of simultaneity".