zoukankan
html css js c++ java
回顾JS Date()对象
突然想写一个日历插件发现Date对象的一些常识快忘光了,复习一下
new Date()返回当前时间 年月日
getFullYear() 返回年份
getMonth() 返回月份(因为从0开始算 所以要+1)
getDay() 返回星期几
getDate() 返回日期
new Date(2017,0,8)传入参数的情况下 代表2017/1/8 月份是从0开始算的
new Date(2017,0,0) 返回上一个月最后一天
查看全文
相关阅读:
20190912
20190825
20190818
20190811
20190804
数据结构与算法之顺序表
数据结构与算法之顺序表
数据结构与算法之单链表
数据结构与算法之循环双链表
数据结构与算法之循环单链表
原文地址:https://www.cnblogs.com/shigongzi/p/7172981.html
最新文章
SPOJ #692. Fruit Farm
SPOJ #691. Hotel Floors
SPOJ #10657. LOGIC (riddle)
SPOJ #440. The Turtle´s Shortest Path
== Got TLE on OJ? Here is the solution! ==
SPOJ #536. How many Fibs
SPOJ #500. Turbo Sort
SPOJ #453. Sums in a Triangle (tutorial)
SPOJ #442 Searching the Graph
SPOJ #429 Simple Numbers Conversion
热门文章
SPOJ #5 The Next Palindrome
SPOJ #4 Transform the Expression
SPOJ #11 Factorial
SPOJ #2 Prime Generator
TopCoder SRM 144 DIV 2
2019101701(课后作业部分)
2019101700(动手动脑部分)
20190930
20190927
201890918
Copyright © 2011-2022 走看看