get_presentation_log_date

bidsaid.parsers.get_presentation_log_date(log_filepath, include_time=False)[source]

Gets the date and time from a Presentation logfile.

Parameters

log_filepathstr or Path

Path to the Presentation log file (i.e text, log, Excel files).

include_timebool

If true, returns the time the file was created

Returns

str or tuple[str, str]

A string of the date if include_time is False else a tuple of the date and time the logfile was generated.