playMaker

Author Topic: How to compare between 2 dates  (Read 586 times)

zirai

  • Playmaker Newbie
  • *
  • Posts: 28
How to compare between 2 dates
« on: May 06, 2020, 04:42:51 AM »
Hello.
I have server time in my mobile game, but when game start i want to check if current device time is same or earlier (this means user change device time) or even later than the server time.

ex. compare 05/10/2020 11:16:40 (device time)and 05/11/2020 11:16:40 (server time). the result should be device time is earlier

any idea how to do this?
thanks.