check if date is set

done for [AGIOS-27](https://issues.jboss.org/browse/AGIOS-27)