Add min max datetime

Memorize datetime is session