Date.setTimeVal

Sets the value of a date from a #GTimeVal value. Note that the @tv_usec member is ignored, because #GDate can't make use of the additional precision.

The time to date conversion is done using the user's current timezone.

More...
class Date
void
setTimeVal

Parameters

timeval TimeVal

#GTimeVal value to set

Detailed Description

Deprecated: #GTimeVal is not year-2038-safe. Use g_date_set_time_t() instead.

Meta

Since

2.10