Added a getter function to get the current time of the server