Object Api methods Date getToday()¶ The getToday method is used to get a Date object that represents current date. Returned value¶ The Date object. Example¶ source{% set date = ObjectApi.getToday() %} {{ date }} output23-06-2022