Skip to content

Date Calculator

Difficulty: Beginner
Time: 40 minutes
Learning Focus: Date and time tools, practical applications
Module: agent

Overview

Create a date calculator that helps plan projects, calculate age, and work with calendar-based information.

Instructions

  1. Start the agent in interactive mode using hands-on-ai agent interactive
  2. Explore the date tools by asking questions like:
  3. "How many days until Christmas?"
  4. "What's the difference between March 15, 2023 and today?"
  5. "How old would someone be if they were born on July 4, 1990?"
  6. Create a project timeline with 3-4 milestones and ask the agent to calculate the duration between them
  7. Ask the agent to format dates in different styles (short, long, with weekday, etc.)
  8. Document which queries worked well and which required more specific instructions

Extension Ideas

  • Create a birthday calculator that tells you interesting facts about your birth date
  • Plan an international trip across different time zones and ask the agent for help
  • Ask about historical date calculations, like "How many days passed between the moon landing and the fall of the Berlin Wall?"