摘要:
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss");// HH:mm:ss //获取当前时间 Date date = new Date(System.currentTimeMillis()) 阅读全文
摘要:
创建sh文件,添加以下代码 运行方式./test.sh 192.168.0.151 #!/bin/bash if [ $EUID -ne 0 ];then echo "You must be root (or sudo) to run this script" exit 1fi if [ $# != 阅读全文
摘要:
SELECT a.dt AS '时间', ISNULL(b.ODPI_EM_Key, '0') AS '数据'FROM ( SELECT dateadd(d, number, '2018-12-01') dt FROM master..spt_values WHERE type = 'p' AND 阅读全文