Object Api methods DateTime getNow()¶ The getNow method is used to get a DateTime object that represents current moment. Returned value¶ The DateTime object. Example¶ source{% set now = ObjectApi.getNow() %} {{ now.iso8601 }} output2022-06-13 12:34:56