Get Time Zone¶
Get the time zone where the server is located.
Request Format¶
GET https://{apigw-address}/dataflow-batch-service/v2.0/time?action=getTimeZone
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
TimeZone Struct |
The timezone details. For more information, see TimeZone Struct |
TimeZone Struct¶
Sample¶
{
"timezone": "GMT+8"
}
Parameters¶
Name |
Data Type |
Description |
---|---|---|
timezone |
String |
The timezone, in the format of GMT+N. |
Error Code¶
Code |
Message |
Description |
---|---|---|
62109 |
Server internal exception |
Internal server exception. |
For other error codes, see Common Error Codes.
Samples¶
Request Sample¶
url: https://{apigw-address}/dataflow-batch-service/v2.0/time?action=getTimeZone
method: GET
Return Sample¶
{
"status": 0,
"msg": "Success",
"data": {
"timezone": "GMT+8"
}
}
SDK Samples¶
You can access the SDK samples for batch processing service on GitHub: