Set getdate if date not set