Add DateFormat method