midnighthearts
New Member
- Messages
- 18
- Reaction score
- 0
- Points
- 0
There is a problem with apps counting on time as a parameter.
The system time in MySQL differs from Apache's one.
#1 The difference is close to an hour (it could be expected for a time shift zone or summer/winter time shift not followed by one of the subsystems)
#2 Since the difference isn't exactly an hour there is serious need to think about ntp synchronization.
#3 How come it happens if subsystems are on the same box ?
If you know, what would be a programmer's best practice to align the times? i.e. replacement for PHP time() or for MySQL CURRENT TIME?
The system time in MySQL differs from Apache's one.
#1 The difference is close to an hour (it could be expected for a time shift zone or summer/winter time shift not followed by one of the subsystems)
#2 Since the difference isn't exactly an hour there is serious need to think about ntp synchronization.
#3 How come it happens if subsystems are on the same box ?
If you know, what would be a programmer's best practice to align the times? i.e. replacement for PHP time() or for MySQL CURRENT TIME?