SPX weekly options automatically settle to cash based on the M, W, and F closing prices. You don't need to take action. The closing date isn't really relevant, they behave as you'd expect, i.e. the Monday option expires at the close on Monday.
SPY options behave like any other stock options. You...