take after midnight into account