Get date right when configuring