added hasdatetime