display message hour when getting them from sqlite