get_datetime#
- caf.toolkit.timing.get_datetime(time_format='%d-%m-%Y %H:%M:%S.%f', precision='microsecond')#
Get the current datetime at different precisions.
- Parameters:
- Returns:
A string of the current datetime in time_format
- Return type:
datetime_str