Converts map element into a Duration or returns the current date if conversion is not possible.
key
See getAsDurationWithDefault