getTime

Returns the Instant time that the OpenAI Completion API sent this response. The time is measured as a unix timestamp (measured in seconds since 00:00:00 UTC on January 1, 1970).

Note that users expect time to be measured in their timezone, so getZonedTime is preferred.

Return

The instant the api created this response.

See also