rl_dt#

rateslib_pyxll.types.rl_dt(year, month, day, excel_dt)#

Create a wrapped Python datetime object.

Parameters:
  • year (int) – The year.

  • month (int) – The month.

  • day (int) – The day.

  • excel_dt (datetime, optional) – A datetime cell in Excel to wrap. If given, year, month and day are ignored.

Return type:

PyDateTime