def datetime(self):
        "Generate the date/time stamp used in our log entries"
        import time
        datestamp = time.asctime(time.localtime(time.time()))
        return datestamp
Generate the date/time stamp used in our log entries
recipes/Python/66452_Logpyl__basic_logfile_objects/recipe-66452.py