Time and date format

Hello… i using old cometchat script (7.1.2) and i need change chat group messages time and date format…how can i do this?