I have to calculate the difference of timestamp and isert into database(mysql) only hour,min and sec. The datatype used is timestamp.
When i insert the value excluding Y-m-d in timestamp the value will be 0000.
When i insert the value with Y-m-d the value is 1970-1-1.
So suggest me how to exclude the 1970-1-1 and the datatype in timestamp it self.