[ CCode ( has_construct_function = false ) ]
public Date.from_now (int offset_seconds)
Creates a Date representing a time offset_seconds after the current time (or
before it, if offset_seconds is negative).
If offset_seconds is 0, returns the current time.
If offset_seconds would indicate a time not expressible as a <type>time_t</type>, the return value will be
clamped into range.
| offset_seconds |
offset from current time |
|
a new Date |