Should be of timestamp type to get the time as well