detect min,hour,mday,mon and wday