JS 获取 本周、本月、本季度、本年、上月、上周、上季度、去年

今天有幸被召回母校给即将毕业的学弟学妹们讲我这两年的工作史,看了下母校没啥特别的变化,就是寝室都安了空调,学妹们都非常漂亮而已。。好了不扯蛋了,说下今天的主题吧。这些天我在深度定制语法高亮功能的同时发现了博客园提供的一些有意思的函数,甚至有几个博客园都没用到,我也不知道怎么才能触发那些功能。。打开这个js就可以看到很多好用的东西了,虽然写的不怎么样,但是至少有这些功能。 ps: 推荐安装一个代码格式化的插件,否则一坨看着蛋疼。比如第一个就是 log,方便调试。

http://blog.csdn.net/kangmiao89757/article/details/39419099
http://blog.csdn.net/kangmiao89757/article/details/39419189
http://blog.csdn.net/kangmiao89757/article/details/39419059
http://blog.csdn.net/kangmiao89757/article/details/39419145
http://blog.csdn.net/kangmiao89757/article/details/39418903
http://blog.csdn.net/kangmiao89757/article/details/39418883
http://blog.csdn.net/kangmiao89757/article/details/39418841
http://blog.csdn.net/kangmiao89757/article/details/39418819
http://blog.csdn.net/kangmiao89757/article/details/39418863
http://blog.csdn.net/kangmiao89757/article/details/39418457
http://blog.csdn.net/kangmiao89757/article/details/39418399
http://blog.csdn.net/kangmiao89757/article/details/39418481
http://blog.csdn.net/kangmiao89757/article/details/39418435
http://blog.csdn.net/kangmiao89757/article/details/39418321
http://blog.csdn.net/kangmiao89757/article/details/39413229
http://blog.csdn.net/kangmiao89757/article/details/39413311
http://blog.csdn.net/kangmiao89757/article/details/39409115
http://blog.csdn.net/kangmiao89757/article/details/39409259
http://blog.csdn.net/kangmiao89757/article/details/39409015
http://blog.csdn.net/kangmiao89757/article/details/39409183
 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。