Skip to content

Overview

AbsTime resolves natural language time expressions for AI systems, built for agents, assistants, and workflows that need accurate time resolution.

import os
from abstime import AbsTime
client = AbsTime(api_key=os.environ["ABSTIME_API_KEY"])
result = client.resolve(
text="the last Friday of this month at 2 pm",
ref_time="2026-04-09T17:30:00Z",
ref_timezone="America/Los_Angeles",
)
print(result.time)
print(result.view)
# 2026-04-24T21:00:00Z
# Apr 24, 2026 2 PM