Datetime Commands

hckr provides comprehensive utilities to work with different timezones and datetime operations.

The dt command suite includes:

  • Main dt command: Display and format datetime information with timezone support

  • now subcommand: Show current time in any timezone

  • convert_time subcommand: Convert datetime between different timezones

All commands support the IANA timezone database format. For a complete list of valid timezones see the IANA tz database.

Key Features:

  • Timezone Support: Full IANA timezone database support with intelligent error handling

  • Flexible Formatting: Customizable datetime output formats

  • Error Handling: Helpful error messages with timezone suggestions

  • Multiple Input Methods: Support for both arguments and options for datetime input

commands