ansible / ansible.builtin / v2.15.2 / filter / to_datetime Get C(datetime) from string | "added in version" 2.4 of ansible.builtin" Authors: unknownansible.builtin.to_datetime (v2.15.2) — filter
pip
Install with pip install ansible-core==2.15.2
Using the input string attempt to create a matching Python C(datetime) object.
_input: description: A string containing date time information. required: true type: str format: description: C(strformat) formatted string that describes the expected format of the input string. type: str
_value: description: C(datetime) object from the represented value. type: raw