get current date properly