1
I need to calculate the difference between 2 dates with different time zone:
The calculation is between the date of posting and the current date.
Assuming a post is from
America/Sao_Paulo
and another ofEurope/Amsterdam
.
For each log entry I must keep the user Timezone or the server?
How do I compute the difference when one user is reading another user’s post?
If the São Paulo user accesses the Amsterdam post, how to show that it was the X minutes?
I don’t know the best way to record the input moment of posts...
You could have a table in the bank that stores the transactions, save the time of posting and the time of receipt of the product and after that calculate (since you already have the two times saved in bank).
– Dante