Source code for atomate2.utils.datetime

"""Helper functions for datetime objects."""

from __future__ import annotations

from datetime import datetime


[docs] def datetime_str() -> str: """ Get a string representation of the current time. Returns ------- str The current time. """ return str(datetime.utcnow())