Skip to Content
Sindre Sorhus
Back to Any Text

Updated

How to Show the Week Number on iPhone

By Sindre Sorhus, who makes the Any Text app

With Any Text

  1. In the Shortcuts app, make a new shortcut, and add the “Format Date” action, with “Current Date” as the date. Set “Date Format” to “Custom”, and type w in “Format String”.
  2. Add the “Set Widget Text” action of Any Text. Keep “Widget 1”, and type “Week ” and the “Formatted Date” variable as the text.
  3. Run the shortcut one time, so the widget gets the number now.
  4. Make the shortcut run each day with a “Time of Day” automation, like at 0:05, and choose “Run Immediately”, so it runs without asking. Apple If it does not run while the iPhone is locked, tap “Edit”, then the Info button of the shortcut, tap “Privacy”, and turn on “Allow Running When Locked”.
  5. Add the widget of “Widget 1” to the Lock Screen or the Home Screen. How to add it.

The number follows the region settings of the iPhone, like the Calendar app does. iOS can update the widget some minutes after the automation runs.

Get Any Text

Put text on your Lock Screen, Home Screen, and desktop

Download on the App Store

$4, one-time purchase for all platforms

Requires
iOS or watchOS 26 or later
Family Sharing
Yes
Updated
June 2026
US App Store rating
4.6/5 (617 ratings)

More about Any Text

Without an app

The Calendar app can show week numbers (Apple’s guide):

  1. Open the Settings app, tap “Apps”, and tap “Calendar”.
  2. Turn on “Week Numbers”.

The Calendar app then shows the number next to each week. This is free, and it is enough when you look up a week now and then. But you must open the Calendar app to see it.

On Mac, see how to show the week number in the menu bar.