Added timestamp typecast and Time attribute type