---
name: "Time::tm"
section: "3p"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/Time::tm"
---

# Time::tm(3p)

internal object used by Time::gmtime and Time::localtime

## NAME

Time::tm - internal object used by Time::gmtime and Time::localtime

## SYNOPSIS

Don't use this module directly.

## DESCRIPTION

This module is used internally as a base class by Time::localtime And Time::gmtime functions.  It creates a Time::tm struct object which is addressable just like's C's tm structure from *time.h*; namely with sec, min, hour, mday, mon, year, wday, yday, and isdst.

This class is an internal interface only.

## AUTHOR

Tom Christiansen
