mirror of
https://github.com/duckietm/Nitro-Cool-UI.git
synced 2025-06-21 22:36:58 +00:00
7 lines
214 B
TypeScript
7 lines
214 B
TypeScript
export const ChatHistoryCurrentDate = () =>
|
|
{
|
|
const currentTime = new Date();
|
|
|
|
return `${ currentTime.getHours().toString().padStart(2, '0') }:${ currentTime.getMinutes().toString().padStart(2, '0') }`;
|
|
};
|