Get the current date dynamically