Makes a new Value of type typeof (DateTime
)
with value val
(of type time_t).
The returned timestamp's value is relative to the current timezone (i.e. is localtime).
For example, to get a time stamp representing the current date and time, use:
<code> ts = gda_value_new_date_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 |