# APIs

## Generic Datetime API

## Get current datetime based on timezone

<mark style="color:blue;">`GET`</mark> `https://dev.arbre.in/api/getdatetime`

List of supported timezones: <https://dev.arbre.in/api/timezones>

#### Path Parameters

| Name     | Type   | Description              |
| -------- | ------ | ------------------------ |
| timezone | string | \<Valid Timezone String> |

{% tabs %}
{% tab title="200 " %}

```
{
    "data": {
        "current_datetime": "2021-09-16 00:53:18",
        "timezone": "Asia/Kolkata"
    }
}
```

{% endtab %}
{% endtabs %}
