extracted today's date operations to a separate method definition