resqpy.olio.time.now¶
- resqpy.olio.time.now(use_utc=False)[source]¶
Returns an iso format string representation of the current time, to the nearest second.
- argument:
use_utc (boolean, default False): if True, the current UTC time is used, otherwise local time
- Returns
string of form YYYY-MM-DDThh – mm:ssZ representing the current time in iso format
Note
this is the format used by the resqml standard for representing date-times