set_date_time_local_value method

set_date_time_local_value

This method is used to set DateTime object as a value for input element. This method is valid if only the type of the input element is “datetime-local”

def set_date_time_local_value(self, value):
    ...
ParameterTypeDescription
valueDateTimeThe date object.

See Also