Y-lib
Loadrunner libraries
Data Structures | Typedefs | Functions
Standard C time structures and functions

Standard C structures and functions to handle date and time (defined in ctime.h) More...

Data Structures

struct  tm
 Documented at http://www.cplusplus.com/reference/ctime/tm/.
Values outside of valid ranges can be used to calculate a new date/time using mktime. E.g. tm_mday = 0 means last day of previous month. More...
 
struct  _timeb
 Used by ftime. Defined as _timeb (instead of timeb) just as in the on-line Help. More...
 

Typedefs

typedef long time_t
 Type time_t can hold a Unix timestamp. More...
 

Functions

time_t time (time_t *timeptr)
 Documented at http://www.cplusplus.com/reference/ctime/time/. More...
 
char * ctime (const time_t *calTime)
 Documented at http://www.cplusplus.com/reference/ctime/ctime/. More...
 
struct tmgmtime (const time_t *calTime)
 Documented at http://www.cplusplus.com/reference/ctime/gmtime/. More...
 
char * asctime (const struct tm *tmTime)
 Documented at http://www.cplusplus.com/reference/ctime/asctime/. More...
 
size_t * strftime (char *string, size_t maxlen, const char *format, const struct tm *timestruct)
 Documented at http://www.cplusplus.com/reference/ctime/strftime/. More...
 
time_t mktime (struct tm *timeptr)
 Documented at http://www.cplusplus.com/reference/ctime/mktime/. More...
 
struct tmlocaltime (const time_t *timer)
 Documented at http://www.cplusplus.com/reference/ctime/localtime/. More...
 
void tzset (void)
 Documented at http://www.cplusplus.com/reference/ctime/tzset/. More...
 
void ftime (struct _timeb *time)
 Documented at http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_lib_ref/f/ftime.html . More...
 

Detailed Description

Standard C structures and functions to handle date and time (defined in ctime.h)

Typedef Documentation

typedef long time_t

Type time_t can hold a Unix timestamp.

Definition at line 174 of file vugen.h.

Function Documentation

char* asctime ( const struct tm tmTime)
char* ctime ( const time_t calTime)
void ftime ( struct _timeb time)
struct tm* gmtime ( const time_t calTime)
struct tm* localtime ( const time_t timer)
time_t mktime ( struct tm timeptr)
size_t* strftime ( char *  string,
size_t  maxlen,
const char *  format,
const struct tm timestruct 
)
time_t time ( time_t timeptr)
void tzset ( void  )