CometChat Docs home page
Search...
⌘K
Ask AI
Dashboard
Contact Support
Contact Support
Search...
Navigation
DatePatterns
Home
Chat & Calling
Platform
Notifications
AI Moderation
AI Agents
Agent Builder
Chat Builder
Insights
Chat Builder
UI Kits
SDKs
No Code - Widgets
APIs
Webflow
Overview
Integration
DatePatterns
OpenAI
Open in ChatGPT
OpenAI
Open in ChatGPT
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”
If timestamp < 48hrs display “Yesterday”
If timestamp < 7days display “EEE” i.e , SUNDAY
else display “d MMM, yyyy” | | DayDateTime | Date format displayed in the following format.1) If timestamp < 24hrs display “hh:mm a”
If timestamp < 48hrs display “Yesterday”
If timestamp < 7days display “EEE” i.e SUNDAY
else display “dd MM yyyy” |
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Assistant
Responses are generated using AI and may contain mistakes.