querying server for time