Avoid some of the ruby method calls when handling date and time columns