Date List Generator 透過在單一 Safari 分頁中輸入起始日期、結束日期與整日步長,在 iPhone 上產生一段依時間順序排列的日期序列——無需從 App Store 下載、無需 Apple ID 登入,也不會產生時區漂移,因為每一個項目都被視為嚴格的 YYYY-MM-DD 格里曆日期,而非時間戳記。
這個工具完全在你所開啟的分頁中執行,這代表它在 iPhone 12 到 iPhone 15,以及執行 iPadOS 的 iPad 上都會產生相同的輸出,因為解析、驗證與星期幾的計算都固定採用「預設格里曆」(proleptic Gregorian calendar) 模型,而不是依據你的本地時區。選擇一個起始日期,例如 2024-03-01,以及一個結束日期,例如 2024-04-30,輸入步長,例如 7,結果就會列出從起始日期開始、每七天一個的曆日日期——因為一個格里週恰好由連續七個曆日組成,所以星期五會固定對齊星期五。輸出為純文字,一行一個日期,可選擇是否加上英文星期名稱,而複製按鈕會將整個區塊寫入你的 iPhone 剪貼簿,以便你可以貼到「備忘錄」、Numbers、Sheets、提醒事項或訊息草稿中。接受的格式為嚴格的四位數年份、兩位數月份、兩位數日期,支援的年份範圍從 0001 年到 9999 年,並依據「可被 4 整除、但逢 100 例外、除非也能被 400 整除」的規則進行閏年驗證。

Date List Generator 在 iPhone 上能做什麼
iPhone 上的日期清單產生器只負責一項特定的工作:將兩個嚴格的曆日端點與以天為單位的步長,轉換成一份逐行排列、確定性的純曆日日期清單。這跟倒數 App、排程規劃工具或習慣追蹤器所做的事情不同,因為這些工具都不會產生一組扁平、可貼到任何地方的日期序列。Date List Generator 專注於這項單一工作,這讓輸入介面精簡到足以容納在 6.1 吋的 iPhone 螢幕上,也讓輸出輕量到足以放進任何支援文字的目的地。
對 iPhone 使用者來說,實際的需求通常會以下列其中一種方式呈現:
- 「我需要本週到本季底之間的每個星期一,用於輪值排程。」
- 「產生未來 12 個雙週發薪日的日期,讓我可以貼到 Sheets 的某一欄。」
- 「列出兩個衝刺區間之間的每一天,作為測試固定資料。」
每一個需求都能清楚地對應到一個起始、一個結束與一個以天為單位的步長,因為每週、雙週或隔日等節奏,在格里曆模型中都會化為固定的整日天數。
Safari 路線相較於 iPhone App 的額外優勢
App Store 中大多數 iPhone 專用的日期與倒數 App,都是圍繞著單一截止日、週年紀念或習慣連勝紀錄來設計的。它們保存的是個別事件的狀態、小工具資料或通知排程,而不是一份包含 N 個等距日期的扁平文字區塊。在 Safari 中開啟瀏覽器版的產生器可以避開這些限制,並帶來幾項具體的好處:
- 無需下載 20 MB 到 40 MB 的安裝檔,這對儲存空間吃緊的 64 GB 與 128 GB iPhone 來說特別重要。
- 無需 Apple ID 登入、無需 App 內購買,也無需在產生任何輸出之前先跳出通知權限的提示。
- 不會因為 iOS 版本不同而產生版本破碎的問題,因為輸入解析與輸出都遵循已發布的標準,而非由該 App 的二進位檔決定。
- iPhone 與 iPad 上的輸出完全一致,因為結果在每個裝置上都依據同一套預設格里曆計算。
取捨在於,瀏覽器工具無法提供主畫面小工具或重複性的本地通知。不過,對於「產生一次性日期清單並貼到另一個工具」這項特定任務來說,這樣的取捨幾乎總是傾向選擇瀏覽器路線。
工具在 iPhone 上接受的輸入
這個產生器的輸入介面刻意設計得很小,目的是為了能在大拇指輸入的手機上操作,而非依賴桌上型鍵盤。需要重點關注的三個欄位如下:
- 起始日期,採嚴格的 YYYY-MM-DD 格式,接受範圍從西元 0001 年到 9999 年。
- 結束日期,採相同格式,必須與起始日期相同或更晚;若早於起始日期,會在產生之前被拒絕。
- 步長,介於 1 到 366 之間的整數,代表相鄰兩筆項目之間相隔的整日天數。
還有第四個控制項可以切換是否顯示英文星期名稱。當啟用星期標籤時,每一行會顯示類似 2024-03-01, Friday 的內容。星期幾是依據與日期相同的「以 1 為起始的曆日序數」計算——星期一算作星期 1,因此相同的輸入在每個裝置上都會產生相同的標籤,因為這中間不會參考任何瀏覽器的地區語言字串。
驗證遵循每個格里月份的真實長度:一月 31 天、四月 30 天、二月則依閏年規則為 28 或 29 天,這與 WHATWG HTML 日期規格 一致。February 2000-02-29 是有效的,因為 2000 可被 400 整除。February 1900-02-29 則會被拒絕,因為 1900 雖然可被 100 整除,但無法被 400 整除。像 4 月 31 日這類不可能存在的日期會直接被拒絕,而不是被悄悄地滾動成 5 月 1 日。
在 iPhone 的 Safari 中建立日期清單
- 開啟 Safari 並前往 Date List Generator。這個表單能夠在標準的 iPhone 螢幕上完整顯示,無需橫向捲動。
- 點選起始日期欄位,輸入四位數年份、兩位數月份與兩位數日期,例如 2024-06-03。選擇器強制採用 YYYY-MM-DD 的格式,因此在解析層級上,6 月 3 日與 6 月 30 日不會被混淆。
- 點選結束日期欄位,輸入同樣的格式。日期需與起始日期相同或更晚;若結束日期早於起始日期,執行作業會在產生任何列之前因驗證訊息而失敗。
- 點選步長欄位,輸入 1 到 366 之間的整數。步長為 1 會列出每一個日期,7 代表每週一次的節奏,14 代表雙週一次的節奏,而更大的自訂值則代表自訂的固定間隔。按下「generate」即可執行。
- 閱讀結果摘要,其中會說明步長是否恰好落在結束日期上。若結束日期是 2024-07-01,而從 2024-06-03 開始的步長是 7,則結束日期不一定會出現——摘要才是真相,而不是猜測。
- 點選「copy」將整個逐行區塊送到 iPhone 剪貼簿。若剪貼簿權限被拒絕,那個唯讀的文字區域仍然可以選取,你可以長按、選擇「全選」並手動複製。
- 切換到「備忘錄」、Numbers、Google Sheets 或任何接受貼上文字的 App,然後貼上結果。每一行都會保持單一的 YYYY-MM-DD 字串(若啟用標籤則為 YYYY-MM-DD, Weekday),以便它能整齊地落入試算表的單一欄位中。
上述七個步驟在每一款 iPhone 機型與 iPad 上都完全相同,因為這個流程中沒有任何環節依賴桌上型的懸停、拖曳或右鍵手勢。對於特別需要將產生筆數推到絕對上限的使用者來說,Bulk Date List Generator:建立 10,000 筆精確日期 指南會逐步說明如何完成完整的 10,000 列建置。
iPhone 專屬的工作流程小技巧
有幾個小習慣能讓產生的清單在 iOS 上更容易使用:
- 先貼到 Numbers 或 Google Sheets 的某一欄,確保每個 YYYY-MM-DD 都落在自己的那一列;若下游工具需要 CSV,再匯出即可。
- 透過 Safari 使用 iOS 的分享功能表,將這個 URL 傳送到「訊息」或「Mail」給自己,這樣下次就能一鍵打開,而不必從冗長的瀏覽紀錄中翻找。
- 若內容規劃會用到星期名稱(例如必須固定落在週一的輪值),就開啟星期標籤;若只是純粹的依時間排序、星期幾並不重要,則關閉即可。
- 這份清單在其所宣告的範圍內是確定且完整的。瀏覽器會在配置輸出之前先計算 floor((endOrdinal − startOrdinal) / step) + 1,而請求 10,001 筆以上日期時,會回傳計算後的數量但不會產生部分清單。想要達到絕對上限的 iPhone 使用者,應先縮小步長或縮短結束日期後再重試。
- 所有的解析作業都在當前分頁中執行,因此關閉分頁就會同時清除表單與結果。如果你需要留下紀錄,請在離開分頁之前先貼到「備忘錄」。
人們在 iPhone 上建立的日期序列模式
步長只是一個整數,但這個整數會對應到一個可辨識的節奏,最好在產生之前先為它命名,因為在手機上操作選擇器時,如果你已經知道自己要的值,操作起來會更輕鬆:
| 步長(天) | 產生的序列 | 典型的 iPhone 使用情境 |
|---|---|---|
| 1 | 範圍內的每一個曆日 | 每日日誌提示、習慣打卡 |
| 2 | 每隔一個曆日 | 隔日進行的模式、兩天輪值 |
| 3 | 每隔三個曆日 | 每日三次的排程、三階段循環 |
| 7 | 同一個星期幾,對齊起始日 | 每週輪值、固定的週一站立會議 |
| 14 | 雙週,同一個星期幾 | 發薪日清單、為期兩週的衝刺 |
| 30 | 大致為每月,但「幾號」會位移 | 長期的回顧節點、留存觀察期 |
請挑選最接近你實際排程規則的最小步長。Date List Generator 接著就會讓那個節奏在整個範圍內保持一致,因為步長是從原始的起始日期開始套用,而不是反覆地進位到月份邊界。從 1 月 30 日開始、步長為兩天,會依序產生 1 月 30 日、2 月 1 日、2 月 3 日——這個「同一日期」的節奏會一路延續過 2 月的長度,數學上不會有特殊的 2 月分支。
Limits, Validation, and What the Tool Refuses
The generator refuses rather than guesses, which matters on iPhone where a silently normalized date can shift a number quietly. Specifically, the tool will not:
- Produce output when the end is earlier than the start. The validation message names the condition so you can swap the endpoints.
- Accept negative steps, decimal steps, or steps larger than 366. These are rejected before any output is allocated.
- Silently normalize an invalid date. April 31, 2024-02-30, or 2023-02-29 produce a validation failure rather than a rolled date.
- Truncate a request of 10,001 or more rows to a sample. The exact count is computed and returned, and the result area stays empty.
- Apply business-day rules, weekend skipping, or a holiday calendar. Review the list against the rules of the destination system yourself before importing it into payroll, finance, or legal workflows.
- Send the start, end, step, or output anywhere. All parsing, counting, weekday calculation, and copying happen in the current Safari tab.
These refusals come from the way each valid endpoint is converted to an integer one-based calendar ordinal, the step is applied, and then every chosen ordinal is converted back into a validated Gregorian year, month, and day. The same arithmetic produces the result on iPhone, iPad, macOS Safari, and a desktop browser, because the calendar model is timezone-free. Standards-based golden tests cover ordinary and century leap years, 30-day and year boundaries, a multi-day step across February, the minimum supported date, weekday anchors, invalid dates, the 10,000-row boundary, and a step that stops before the end — so the calendar contract is auditable rather than only implied.
Date List Generator Compared With Countdown and Schedule Apps
The App Store countdown category and the browser-based generators category coexist without much overlap in practice, because they solve different problems. Countdown and schedule apps on iPhone are organized around a small number of named events, a home-screen widget, and a local notification. The Date List Generator is organized around the inverse problem: a flat, copy-paste-ready text block of N evenly spaced calendar dates between two endpoints. If you need ongoing per-event reminders that should fire locally on the device, a dedicated iPhone app remains the right tool. For anything you can phrase as "list the dates between X and Y every N days," the browser path is shorter, smaller, and identical across every device you happen to be holding when the request comes up.
For an iPhone user who just needs a flat, copy-paste-ready list of dates between two endpoints — at any whole-day cadence from 1 through 366 — running Date List Generator in Safari keeps the path short. The result is strict YYYY-MM-DD input, leap-year-aware month lengths, an explicit count before allocation, and a deterministic one-per-line block that lands in Notes, Numbers, or Sheets without an App Store detour.
Related reading: Random Date Generator Example: Sample Outputs by Range.