Makes a new Value of type GDA_TYPE_TIME
with value val
(of type time_t).
The returned times's value is relative to the current timezone (i.e. is localtime).
For example, to get a time representing the current time, use:
<code> ts = gda_value_new_time_from_timet (time (NULL)); </code>
val |
value to set for the new Value. |
the newly created Value, or null in case of error Free-function: gda_value_free |