Skip to content
1 min read · 42 words

Variable: convertTimeTool

ts
const convertTimeTool: Tool<SpooledArtifact>;

Defined in: batteries/tools/time/index.ts:49

Convert a wall-clock time between two IANA timezones.

Remarks

time must be HH:MM in 24-hour format. target_timezone defaults to UTC. The conversion uses today's date in the source zone to pick the correct DST offset.