auto setting of date virtual attributes after initialization