ReadServerTime
Retrieve the server time in UTC.
Service | Operation |
---|---|
time | READ |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var timeProxy = bridge.getTimeServiceProxy();
var postResult = timeProxy.readServerTime();
if (postResult.status == 200) {
// Success!
}
{
"service": "time",
"operation": "READ",
"data": {}
}