time_val: added ymd and ymdhms constructors