ServerTime.getTimestamp function provides the server time in epoch milliseconds.