add between condition, parse time, fix a bug