"Pham, Thinh" <tpham(at)mail(dot)priority(dot)net> writes:> What happen if i just want to compare using minute only or hour only instead> of day? Is there a function to do that or is postgres only work in day?
See date_part().
regards, tom lane