Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
BaTm Struct Reference

Detailed Description

Represents the components of calendar time.

See also
baTime2tm
baTm2Time
baParseDate

#include <BaServerLib.h>

Public Attributes

int tm_sec
 seconds after the minute [0,59] More...
 
int tm_min
 minutes after the hour [0,59] More...
 
int tm_hour
 hours since midnight [0,23] More...
 
int tm_mday
 day of the month [1,31], valid for the selected month More...
 
int tm_mon
 months since January [0,11] More...
 
int tm_year
 Years since 0000 (baTime2tmEx) or since 1900 (baTime2tm) More...
 
int tm_wday
 days since Sunday [0,6] More...
 
int tm_yday
 Days since January 1 [0,365]; output of the time-to-calendar functions. More...
 
int nsec
 Fractional second in nanoseconds [0,999999999]. More...
 
int offset
 Minutes east of UTC [-1439,1439]; negative means west. More...
 

Member Data Documentation

◆ nsec

int BaTm::nsec

Fractional second in nanoseconds [0,999999999].

◆ offset

int BaTm::offset

Minutes east of UTC [-1439,1439]; negative means west.

◆ tm_hour

int BaTm::tm_hour

hours since midnight [0,23]

◆ tm_mday

int BaTm::tm_mday

day of the month [1,31], valid for the selected month

◆ tm_min

int BaTm::tm_min

minutes after the hour [0,59]

◆ tm_mon

int BaTm::tm_mon

months since January [0,11]

◆ tm_sec

int BaTm::tm_sec

seconds after the minute [0,59]

◆ tm_wday

int BaTm::tm_wday

days since Sunday [0,6]

◆ tm_yday

int BaTm::tm_yday

Days since January 1 [0,365]; output of the time-to-calendar functions.

◆ tm_year

int BaTm::tm_year

Years since 0000 (baTime2tmEx) or since 1900 (baTime2tm)