The month, day and year wouldn't matter anyhow since you are only comparing the hours minutes and seconds...
Therefore, if your constant is in the format of 00:00:00 and your timestamp is in the same format, then you can use the date funtion like so:
$variable = date("U", mktime(00, 00, 00, 1, 1, 2000));
$constant = date("U", mktime(00, 00, 00, 1, 1, 2000));
You would take your timestamp, and use explode() to put it into an array. Then feed the 3 array values into the hour, minute and second portions of the mktime() function.
Do the same for your constant.
Just use the same month day and year for both (hardcoded into the mktime() function.