removed DRY of formatted date