Custom Command Cooldown Message

So the default message is something like: There is a cooldown in effect for this chat input command. It'll be available at 2023-04-19T04:26:08.886Z. Is there any good way to turn this message into something more readable and convenient, such as: This command cannot be used for *X* hours / *Y* minutes. Is there a way to extract the cooldown for the command itself? So I can get a date or time object out of it?
1 Reply