This function takes a date object and returns a string in ISO format suitable for filenames.
If no date is provided, it uses the current date and time.
Parameters
date: Date = ...
The date object to be converted. Defaults to the current date and time.
This function takes a date object and returns a string in ISO format suitable for filenames. If no date is provided, it uses the current date and time.