Added method for getting current date