fusetools.date_tools.get_last_dow

fusetools.date_tools.get_last_dow(dow, ref_date=False)[source]

Get the last date for a given day of the week (ex: Sunday, Monday)

Parameters
  • dow – Day of week to pull date for.

  • ref_date – Date to provide a reference for (optional).

Returns

Last date for a given day of the week.