实时时间输出 <script> function getDateTime(){ var a = new Date(); var year = a.getFullYear(); var mon = a.getMonth() + 1; var day = a.getDate(); var hour = a.getHours(); var minute = a.getMinutes(); var second = a.getSeconds(); var week = a.getDay(); var…
一.输出1-100的数据 此处参考 https://bbs.csdn.net/topics/390516027 with t(id) as ( as id from sysibm.sysdummy1 a union all ) select id from t 二.DB2输出每隔10分钟的数据 WITH TEMP(D_MINUTE) AS ( SELECT TIME('00:00:00') + A MINUTES FROM SYSIBM.SYSDUMMY1 CROSS JOIN ())) ROW…
1.取得当前时间 function getNowFormatDate() { var date = new Date(); var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var strDate = date.getDate(); var hours = date.getHours(); var minutes = date.getMinutes(); var…