Switch timestamp to double