Date Tool

Display and format date and time values from the command line. Use when you need to get the current date, format timestamps, or calculate date differences.

Date Tool - Date and Time Utilities

Display current date/time in various formats, convert between timezones, and perform date arithmetic calculations.

Quick Start

bash
date-tool +"%Y-%m-%d %H:%M:%S"

Features

  • Display current date/time in custom formats
  • Convert between timezones
  • Calculate date differences
  • Parse timestamps from various formats

Examples

bash
# Current date in ISO format
date-tool +"%Y-%m-%d"

# Current time in 24-hour format
date-tool +"%H:%M:%S"

# Unix timestamp
date-tool +"%s"