当前位置:网站首页>Date plus 1 day
Date plus 1 day
2022-07-06 16:14:00 【Dream height 1.8 meters】
Direct addition 24 * 60 * 3600 Can only be used in new Date() when
let next = new Date((new Date() + 24*60*3600));
Custom date plus one day
let custom = new Date('2022-6-1');
let next = new Date(custom .setDate(custom .getDate() + 1))
// Thu Jun 02 2022 00:00:00 GMT+0800 ( China standard time ) {}
// next.tolocalString()
// 2022/6/2 00:00:00
边栏推荐
- Penetration test (1) -- necessary tools, navigation
- 7-1 understand everything (20 points)
- Classic application of stack -- bracket matching problem
- Maximum product (greedy)
- 树莓派4B64位系统安装miniconda(折腾了几天终于解决)
- Penetration test (7) -- vulnerability scanning tool Nessus
- Auto.js入门
- F - birthday cake (Shandong race)
- 力扣:第81场双周赛
- 409. Longest palindrome
猜你喜欢

D - function (HDU - 6546) girls' competition

b站 實時彈幕和曆史彈幕 Protobuf 格式解析

第 300 场周赛 - 力扣(LeetCode)

921. Minimum additions to make parentheses valid

力扣——第298场周赛

807. Maintain the urban skyline

Gartner: five suggestions on best practices for zero trust network access

Differential (one-dimensional, two-dimensional, three-dimensional) Blue Bridge Cup three body attack

Penetration testing (5) -- a collection of practical skills of scanning King nmap and penetration testing tools

X-forwarded-for details, how to get the client IP
随机推荐
Pytorch extract skeleton (differentiable)
MySQL import database error [err] 1273 - unknown collation: 'utf8mb4_ 0900_ ai_ ci’
Programmers, what are your skills in code writing?
Nodejs+vue online fresh flower shop sales information system express+mysql
Differential (one-dimensional, two-dimensional, three-dimensional) Blue Bridge Cup three body attack
Shell Scripting
图图的学习笔记-进程
antd upload beforeUpload中禁止触发onchange
C language learning notes
1689. Ten - the minimum number of binary numbers
Information security - security professional name | CVE | rce | POC | Vul | 0day
Pyside6 signal, slot
Share an example of running dash application in raspberry pie.
Luogu P1102 A-B number pair (dichotomy, map, double pointer)
渗透测试 ( 3 ) --- Metasploit Framework ( MSF )
[exercise -10] unread messages
[exercise-4] (UVA 11988) broken keyboard = = (linked list)
Candy delivery (Mathematics)
CEP used by Flink
Suffix expression (greed + thinking)