小小的date只能输出当前日期,如果需要输出前天、后天类似这样的非当前日期就必须借助小小直通车的管道功能了,幸有十年兄分享的datex,使得这种需求得以实现。添加流程:1.拷贝datex.exe到小小主文件夹的tools文件夹中。(建立这个文件夹是为了方便存放小小调用的各种小程序...
全文
回复(27) 2024-08-21 09:58 来自版块 - 输入法
表情
msql2010 感谢分享,这个vbs脚本很好用。(2024-09-21 17:49)
msql2010 刚刚测试了,你提供的脚本没有问题。(2024-09-20 15:00)
zjason感谢分享!(2024-09-17 23:21)
ezpeer2000我也下载datex.exe来试试 感谢分享(2024-09-07 17:01)
yanqian周大刚才发的可以保存为 get-date.js,保存脚本文件时编码选择用 “Unicode”(如果是windows下的记事本)或“UTF16 LE”(如果是用的其它支持多种编码的编辑器)。 然后可以在CMD下测试: #当天的日期 cscript get-date.js #...(2024-08-31 22:36)
dgod使用cscript.exe运行的版本 var d=new Date(); var days=0; if(WScript.Arguments.Length==1) days=parseInt(WScript.Arguments(0)); d.setTime(d.getTime(...(2024-08-31 15:25)
gyzczy感谢分享!!!(2024-08-29 09:18)
yanqianWindows平台也可以试试用系统自带的 powershell 命令:get-date 默认如果要只输出日期,不带具体时间,就是 get-date -DisplayHint date 前一天就是:(get-date).adddays(-1) 两天后就是:(get-date...(2024-08-24 12:10)
雪夜流星 感谢。 这个也只能等周大解决了,试了很多种方法,都没能实现。(2024-08-24 11:50)
雪夜流星 好的,感谢。 不折腾了,我也试了很多种方法,都不能实现。(2024-08-24 11:50)
1

Uncaught error with message 'Undefined constant "id"'

The server encountered an internal error and failed to process your request. Please try again later. If this error is temporary, reloading the page might resolve the problem.
If you are able to contact the administrator report this error message.(http://www.windframework.com/)