> For the complete documentation index, see [llms.txt](https://docs.toomuchmedia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.toomuchmedia.com/api/api-endpoints/service/api-service-datetime-format.md).

# /api/service/datetime‑format

## GET /api/service/datetime-format

> Get the Date and Time format strings set within the config

```json
{"openapi":"3.0.2","info":{"title":"API Specification","version":"v1"},"tags":[{"name":"/api/service/datetime-format"}],"security":[{"api-key":[],"api-username":[]}],"components":{"securitySchemes":{"api-key":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"get_service_datetime-format":{"type":"object","properties":{"success":{"type":"boolean"}}}}},"paths":{"/api/service/datetime-format":{"get":{"description":"Get the Date and Time format strings set within the config","tags":["/api/service/datetime-format"],"responses":{"200":{"description":"success","content":{"text/php":{"schema":{"$ref":"#/components/schemas/get_service_datetime-format"}},"application/json":{"schema":{"$ref":"#/components/schemas/get_service_datetime-format"}},"application/xml":{"schema":{"$ref":"#/components/schemas/get_service_datetime-format"}}}}}}}}}
```
