struct apr_time_exp_t

Overview

a structure similar to ANSI struct tm with the following differences:

  • tm_usec isn’t an ANSI field

  • tm_gmtoff isn’t an ANSI field (it’s a BSDism) More…

#include <apr_time.h>

struct apr_time_exp_t {
    // fields

    apr_int32_t tm_usec;
    apr_int32_t tm_sec;
    apr_int32_t tm_min;
    apr_int32_t tm_hour;
    apr_int32_t tm_mday;
    apr_int32_t tm_mon;
    apr_int32_t tm_year;
    apr_int32_t tm_wday;
    apr_int32_t tm_yday;
    apr_int32_t tm_isdst;
    apr_int32_t tm_gmtoff;
};

Detailed Documentation

a structure similar to ANSI struct tm with the following differences:

  • tm_usec isn’t an ANSI field

  • tm_gmtoff isn’t an ANSI field (it’s a BSDism)

Fields

apr_int32_t tm_usec

microseconds past tm_sec

apr_int32_t tm_sec

(0-61) seconds past tm_min

apr_int32_t tm_min

(0-59) minutes past tm_hour

apr_int32_t tm_hour

(0-23) hours past midnight

apr_int32_t tm_mday

(1-31) day of the month

apr_int32_t tm_mon

(0-11) month of the year

apr_int32_t tm_year

year since 1900

apr_int32_t tm_wday

(0-6) days since Sunday

apr_int32_t tm_yday

(0-365) days since January 1

apr_int32_t tm_isdst

daylight saving time

apr_int32_t tm_gmtoff

seconds east of UTC