I have a general problem however I couldn't do at this time. I work on a project. Our Database is based on Europe/Amsterdam Time. However Client timezones and dates are changing every time. You know what I am sayin' I get the date from database by PHP (CakePHP). And I just want these dates to write "2 minutes ago". We keep the date on database like that "2017-08-04 13:43:38" I can use it for another issues or features. I use timeago.js
My Problem
I am changing any record by interface right now. (2017-08-04 13:43:38) (Istanbul Timezone) The system saves 2017-08-04 12:43:38 (Amsterdam Timezone) as modified date. That's why my javascript always shows that about an hour ago It should be less than minute ago I want to change every single client timezone as Amsterdam timezone.
My Questions:
- Where I should do it? (client or server)
- I tryna work on clientside. How to equalize timezone shortly by javascript?