snowflake.snowpark.functions.previous_day¶
- snowflake.snowpark.functions.previous_day(date: Union[Column, str], day_of_week: Union[Column, None, bool, int, float, str, bytearray, Decimal, date, datetime, time, bytes, NaTType, float64, list, tuple, dict]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L4612-L4639)¶
Returns the date of the first specified DOW (day of week) that occurs before the input date.
Example: