from datetime import datetime


def pyWinDate2datetime(now_pytime):
    """Converts pyWinDate to Python datetime. More info:
    http://timgolden.me.uk/python/win32_how_do_i/use-a-pytime-value.html"""

    now_datetime = datetime (
      year=now_pytime.year,
      month=now_pytime.month,
      day=now_pytime.day,
      hour=now_pytime.hour,
      minute=now_pytime.minute,
      second=now_pytime.second
    )

    return now_datetime