Method for turning todays date into a WbTime. This is used whenever setting fetch dates etc. for references.
Something like:
def today_as_WbTime(): """Get todays date as a WbTime object. @return: Todays date correctly formated @rtype: pywikibot.WbTime """ today = datetime.today() date = pywikibot.WbTime(year=today.year, month=today.month, day=today.day) return date