# phpman > perldoc > Time::tm

## NAME
    [Time::tm](https://www.chedong.com/phpMan.php/perldoc/Time%3A%3Atm/markdown) - internal object used by [Time::gmtime](https://www.chedong.com/phpMan.php/perldoc/Time%3A%3Agmtime/markdown) and [Time::localtime](https://www.chedong.com/phpMan.php/perldoc/Time%3A%3Alocaltime/markdown)

## SYNOPSIS
    Don't use this module directly.

## DESCRIPTION
    This module is used internally as a base class by [Time::localtime](https://www.chedong.com/phpMan.php/perldoc/Time%3A%3Alocaltime/markdown) And [Time::gmtime](https://www.chedong.com/phpMan.php/perldoc/Time%3A%3Agmtime/markdown) functions. It
    creates a [Time::tm](https://www.chedong.com/phpMan.php/perldoc/Time%3A%3Atm/markdown) 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

