Child pages
  • Working with Dates (and timezones)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In Servoy the problem arises when you are calling Date#getHours() because   (and other methods like that) because that is in local time. And your server could be in in the timezone +2 but your client could be in +3, and servoy code runs at the server, so the getHours() call will be the hours that the server reports it (the same is the toString())

...