diff --git a/2023/10/24/hello-world/index.html b/2023/10/24/hello-world/index.html index 422f731..4814fa3 100644 --- a/2023/10/24/hello-world/index.html +++ b/2023/10/24/hello-world/index.html @@ -1163,7 +1163,7 @@

你的赏识是我前进的动力

minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years); diff --git a/2023/10/24/test/index.html b/2023/10/24/test/index.html index d0e9361..a43e233 100644 --- a/2023/10/24/test/index.html +++ b/2023/10/24/test/index.html @@ -1150,7 +1150,7 @@

你的赏识是我前进的动力

minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years); diff --git a/404.html b/404.html index b59886b..a48fa5c 100644 --- a/404.html +++ b/404.html @@ -523,7 +523,7 @@ minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years); diff --git a/archives/2023/10/index.html b/archives/2023/10/index.html index 4eab310..bb759f7 100644 --- a/archives/2023/10/index.html +++ b/archives/2023/10/index.html @@ -747,7 +747,7 @@ minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years); diff --git a/archives/2023/index.html b/archives/2023/index.html index 9efbff3..7e3e80e 100644 --- a/archives/2023/index.html +++ b/archives/2023/index.html @@ -747,7 +747,7 @@ minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years); diff --git a/archives/index.html b/archives/index.html index 23f57bf..651c422 100644 --- a/archives/index.html +++ b/archives/index.html @@ -747,7 +747,7 @@ minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years); diff --git a/index.html b/index.html index 4fa64d4..8455c3f 100644 --- a/index.html +++ b/index.html @@ -817,7 +817,7 @@ minutes - 0-59之间的整数,做为date对象的分钟数 seconds - 0-59之间的整数,做为date对象的秒数 microseconds - 0-999之间的整数,做为date对象的毫秒数 */ - var t1 = Date.UTC(2017, 09, 11, 00, 00, 00); //北京时间2018-2-13 00:00:00 + var t1 = Date.UTC(2023, 10, 25, 00, 00, 00); //北京时间2018-2-13 00:00:00 var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond); var diff = t2 - t1; var diffYears = Math.floor(diff / years);