> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-llms-scoped-indexes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DatePatterns

> DatePatterns — CometChat documentation.

DatePatterns describes a specific format or arrangement used to represent dates in a human-readable form.

| Name | Description |
| - | - |
| time | Date format displayed in the format hh:mm a |
| DayDate | Date format displayed in the following format.1) If timestamp \< 24hrs display “Today” |

2. If timestamp \< 48hrs display “Yesterday”
3. If timestamp \< 7days display “EEE” i.e , SUNDAY
4. else display “d MMM, yyyy” |
   \| DayDateTime | Date format displayed in the following format.1) If timestamp \< 24hrs display “hh:mm a”
5. If timestamp \< 48hrs display “Yesterday”
6. If timestamp \< 7days display “EEE” i.e SUNDAY
7. else display “dd MM yyyy”  |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.