json2graph.modules.utils_general
Diverse util and auxiliary functions.
Module Contents
Functions
|
Return a string with date and time according to the specified format received as argument. |
- json2graph.modules.utils_general.get_date_time(date_time_format)
Return a string with date and time according to the specified format received as argument.
For valid formats: https://docs.python.org/3.11/library/datetime.html#strftime-and-strptime-format-codes
- Parameters:
date_time_format (str) – Valid format accepted by the datetime function.
- Returns:
Formatted current date and time.
- Return type:
str