in reply to How to use date function

I have to calculate the difference of timestamp and isert into database(mysql) only hour,min and sec.

By any chance, are you a morph of rashmi_k28? Were not Date subroutine and Timestamp problem useful?