use rounded values

Cut off decimal places so that the value can be treated as integer, which is what timestamps actually are.