SFFD · iPhone setup
Put the countdown on your iPhone
The widget uses your projected date of June 30, 2041. iOS controls when widgets update; tap it to open the live countdown.
1. Create the widget script
- Install Scriptable from the App Store.
-
You can also open the script source and copy all of it manually.
- Open Scriptable, tap +, and paste the script. Name it Retirement Countdown and tap Done.
2. Add it to your Home Screen
- Touch and hold an empty spot on your Home Screen. Tap Edit → Add Widget (or + on older iOS versions).
- Search for Scriptable, choose the small or medium size, and tap Add Widget.
- Touch and hold the widget, tap Edit Widget, and select Retirement Countdown under Script.
Optional: Add it to your Lock Screen
- Touch and hold your Lock Screen, then tap Customize → Lock Screen.
- Tap the widget area below the clock and choose Scriptable. For the one-line widget, tap above the clock instead.
- Tap the added widget to configure it, select Retirement Countdown under Script, then tap Done.
If Scriptable isn't listed, open the Scriptable app once and try again. Lock Screen widgets require iOS 16 or later.
Alternative: Save the live web countdown
This adds a shortcut, not a widget.
- Open the countdown in Safari. If iMessage opened it in an in-app browser, switch to Safari first.
- Tap Share → Add to Home Screen. Leave Open as Web App on if Safari shows the option, then tap Add.
To change the widget's date, edit TARGET_DATE in Scriptable. The web countdown has its own date setting.