🔍

首页Home › 日期时间Date & Time

📅 给日历日期加点模糊Add Fuzziness to Calendar Dates

给每行日期随机加减几天(可设范围与种子),用于脱敏或测试。本地处理。可设置「范围(天)」、「种子」。Add or subtract a random number of days from each date (range + seed). Handy for anonymising or tests. Processed locally. Settings: Range (days), Seed.

使用说明与常见问题How-to & FAQ

「给日历日期加点模糊」是什么?What is the Add Fuzziness to Calendar Dates tool?

给每行日期随机加减几天(可设范围与种子),用于脱敏或测试。本地处理。可设置「范围(天)」、「种子」。Add or subtract a random number of days from each date (range + seed). Handy for anonymising or tests. Processed locally. Settings: Range (days), Seed.

如何使用「给日历日期加点模糊」?How do I use the Add Fuzziness to Calendar Dates tool?

每行输入一个 YYYY-MM-DD 日期,设置“范围(天)”,每个日期会在这个范围内随机前后移动;填写种子可以复现同一结果。Enter one YYYY-MM-DD date per line and set "Range (days)"; each date moves forward or back by a random number of days within that range. Enter a seed to get the same result again.

范围设为 0 会怎样?What happens with Range 0?

日期保持不变(只会统一成 4 位年份的 YYYY-MM-DD),适合做流水线自检。Every date stays the same (only normalised to YYYY-MM-DD with a 4-digit year), which is handy as a no-op check in a pipeline.

输入格式有什么要求?What input format is accepted?

每行一个 YYYY-MM-DD 格式的日期(年份 4 位,月和日各 2 位),空行会跳过。格式不对时会指出是第几行。结果加减后可能落到 0000 年之前,这时年份按天文纪年写成 -0001 这样的形式(-0001 即公元前 2 年)。One date per line as YYYY-MM-DD (4-digit year, 2-digit month and day); blank lines are skipped. If a line is not valid, the error names the line number. If adding days moves a date before year 0000, the year is written in astronomical numbering such as -0001 (= 2 BC).

用的是哪种历法?和时区有关吗?Which calendar is used, and do time zones matter?

所有日期都按外推格里高利历(proleptic Gregorian,即把现行公历规则向前一直沿用)计算,年份 0000–9999,0000 年即公元前 1 年。1582 年 10 月 5 日到 14 日在历史上采用格里高利历时被跳过,从未实际存在;页面仍按外推公历计算这些日期,并在结果下方给出提示。计算只用你输入的日期,不读取设备时钟,所以时区和夏令时不影响结果。输出的年份总是 4 位(如 0005-06-07)。All dates are proleptic Gregorian: today's calendar rules applied backwards without a break, for years 0000–9999 (year 0000 is 1 BC). The days 1582-10-05 to 1582-10-14 never existed in the Gregorian calendar as historically adopted — they were skipped — so the page still computes them as proleptic dates but shows a note below the result. Only the dates you type are used and the device clock is never read, so time zones and daylight saving time do not affect the result. Years are always printed with 4 digits, e.g. 0005-06-07.

输入和输出是什么样的?What does the input and output look like?

例如在「给日历日期加点模糊」中输入 2020-01-15,「范围(天)」设为 0,「种子」设为 1,输出为:2020-01-15。With "Range (days)" set to 0 and "Seed" set to 1, the input 2020-01-15 becomes 2020-01-15.

有哪些选项可以调整?What options can I adjust?

「给日历日期加点模糊」的设置:「范围(天)」默认 3;「种子」默认 1。每次生成结果都按当前设置处理。Settings in the Add Fuzziness to Calendar Dates tool — "Range (days)" default 3; "Seed" default 1. The result always uses the current settings.

「给日历日期加点模糊」免费吗?需要注册吗?Is the Add Fuzziness to Calendar Dates tool free? Do I need an account?

「给日历日期加点模糊」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Add Fuzziness to Calendar Dates tool is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

⏰ 给时钟时间加点模糊Add Fuzziness to Clock Times📊 分析日历日期Analyze Calendar Date📊 分析时钟时间Analyze Clock Time📅 计算平均日历日期Calculate Average Calendar Date📐 计算钟表指针夹角Calculate Clock Hand Angle⏱ 计算自午夜起的秒数Calculate Seconds Since Midnight⏱ 计算距午夜的秒数Calculate Seconds Till Midnight📆 检查平年Check Common Year🔭 日期转儒略日Convert Date to Julian Day📅 公历转儒略历日期Convert Gregorian Date to Julian Date⏱ 人类时间转 Unix 时间戳Convert Human Time to Unix Time📅 儒略历转公历日期Convert Julian Date to Gregorian Date

← 全部工具All tools