Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: time.h

gettimeofday()

IMPORT_C int gettimeofday(struct timeval *tp, struct timezone *tzp);

Description

Intended Usage: The gettimeofday function obtains the current UTC time, which is expressed as seconds and microseconds since 00:00:00 Coordinated Universal Time (UTC), January 1, 1970, and stores it in a timeval structure. Please note that tz_minuteswest includes daytime saving. The struct member tz_dsttime is no longer supported by Symbian OS and therefore set to Zero.

Parameters

struct timeval *tp

Struct with two members of type long (tv_sec, tv_usec)

struct timezone *tzp

Struct with two members of type integer (tz_minuteswest, tz_dsttime)

Return value

int