5 credits/request
Date and Time Calculator icon

Date and Time Calculator

Core Utility
10 free requests

Available Actions

time-untiltime-sinceadd-dayssubtract-daysadd-hourssubtract-hoursadd-minutessubtract-minutesdays-betweenbusiness-days-betweenconvert-timezonetimezone-offsetformat-durationparse-durationweek-numberquarteris-leap-yearworking-hours-overlapunix-to-isounix-to-datedate-to-unixseconds-to-human

Details

Time Tools is a date and time utility providing 18 operations across two categories: time calculations and format conversions. Time calculation operations handle date arithmetic and temporal analysis. These include calculating time remaining until a future date, calculating time elapsed since a past date, adding or subtracting days from a date, counting total days between two dates, counting business days (weekdays only) between two dates, converting datetimes between timezones, retrieving UTC offset for any timezone, formatting duration in seconds to human-readable text, parsing human-readable duration strings (such as "2h 30m") into seconds, getting ISO week number for a date, determining fiscal quarter (1–4), checking leap year status, checking if two time periods overlap, and converting Unix timestamps to ISO format. Conversion operations handle format transformations between Unix timestamps, formatted date strings, and human-readable durations. Unix timestamps can be converted to formatted dates with optional timezone specification, date strings can be converted to Unix timestamps using configurable format patterns, and raw seconds can be converted to compact human-readable format (such as "1d 2h 30m 15s"). Date parsing is flexible and accepts multiple input formats. All timezone operations use the pytz library and support standard timezone names.

Use Cases

Building countdown timers for events or deadlines, calculating project durations in business days excluding weekends, scheduling meetings across multiple timezones, converting API timestamps to human-readable formats, parsing user-entered durations like "2 hours 30 minutes" into seconds, determining fiscal quarters for financial reporting, validating date ranges for booking systems, checking working hours overlap between distributed teams, generating relative timestamps for activity feeds, calculating age or tenure from start dates, converting between Unix epoch and display formats for logs, determining week numbers for sprint planning, building time-tracking applications, validating leap years for date calculations, formatting elapsed time for dashboards and reports.

Workflows Using This Tool

Parameters

actionrequiredstring

Use 'get_instructions' to retrieve documentation. The time operation to perform. Available actions: Time Calculations (time-until, time-since, add-days, subtract-days, add-hours, subtract-hours, add-minutes, subtract-minutes, days-between, business-days-between, convert-timezone, timezone-offset, format-duration, parse-duration, week-number, quarter, is-leap-year, working-hours-overlap, unix-to-iso), Conversions (unix-to-date, date-to-unix, seconds-to-human)

datestring

Date/datetime string in ISO format or any parseable format. Required for: add-days, subtract-days, add-hours, subtract-hours, add-minutes, subtract-minutes, week-number, quarter

target_datestring

Target date for calculating time until. Required for: time-until

and 19 more parameters...

About The Developer

Apoth3osis logo

Apoth3osis

15 stars

Joined Agent Payment: August 14, 2025

We build tools that enable AI agents to excel in the mathematical realm.

Our small team develops experimental and unique solutions in the AI arena, with a strong focus on modular computing for agentic applications and custom model deployment. We have handled projects for a variety of applications across many sectors, from algorithmic trading and financial analysis, to molecular simulations and predictions, to habitat and biodiversity monitoring and wildlife conservation.