> For the complete documentation index, see [llms.txt](https://docs.navigaglobal.com/dashboard-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.navigaglobal.com/dashboard-plugin/api-and-gui/api/gettimeformat.md).

# getTimeFormat

getTimeFormat is a helper function will return Dashboards current time format that has been set by the user from the userSettings

## How to use

```javascript
import { Plugin } from'@root'

Plugin.getTimeFormat()
```

This method will return '24h' if the user sets the time format to "Use 24h format (military time)" and it will returns '12h' otherwise.
