code: def get_time_now(self):
          
          import datetime
          import getpass
          username = getpass.getuser()
          # this is not working on some systems: os.environ["USERNAME"]
          timenow = str(datetime.datetime.now())
          timenow = timenow.split('.')[0]
          msg = '<div class="date">Created on ' + timenow
          msg += " by " + username +'</div>'
          return msg
docs: Returns a time stamp