added implementation for dateGreeting