Function glib::date::get_current_time [] [src]

pub fn get_current_time() -> TimeVal

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

You may find g_get_real_time() to be more convenient.