aspcore.utilities.get_time_string

aspcore.utilities.get_time_string(detailed=False)

Returns a string with the current time in the format ‘year_month_day_hour_minute’

Parameters:

detailed (bool) – If True, seconds and microseconds will be included in the string

Returns:

time_str – The time string

Return type:

str