.. index:: 
  !DateTime.toString Method
  
.. _id3_bioseal_date_time_to_string_class_method:

===============================================================================
DateTime.toString Method
===============================================================================

Module: :ref:`DateTime<id3_bioseal_date_time_class>`

Definition
----------

Convert the date/time to a string.


.. code:: Dart

    String toString()

**Returns**

.. line-block::

    ``String``
    Automatic format is YYYY-MM-DDTHH:MM:SS, YYYY-MM-DD or HH:MM:SS

**Exceptions**

.. line-block::

    :ref:`BiosealException<id3_bioseal_bioseal_exception>`
    An error has occurred during Bioseal Library execution.



