getCurrentTime

fnvoid getCurrentTime(out glib.time_val.TimeVal result)

Equivalent to the UNIX gettimeofday() function, but portable.

You may find glib.global.getRealTime to be more convenient.

Parameters

result#GTimeVal structure in which to store current time.

Deprecated

#GTimeVal is not year-2038-safe. Use glib.global.getRealTime

instead.