var header=["00:00","00:30","01:00","01:30","02:00","02:30","03:00","03:30","04:00","04:30","05:00","05:30","06:00","06:30","07:00","07:30","08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30","22:00","22:30","23:00","23:30"];var header1=["00:00","00:30","01:00","01:30","02:00","02:30","03:00","03:30","04:00","04:30","05:00","05:30","06:00","06:30","07:00","07:30","08:00","08:30","09:00","09:30","10:00","10:30","11:00","11:30"];
var header2=["12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00","18:30","19:00","19:30","20:00","20:30","21:00","21:30","22:00","22:30","23:00","23:30"];
var header=["00:00","01:00","02:00","03:00","04:00","05:00","06:00","07:00","08:00","09:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00","18:00","19:00","20:00","21:00","22:00","23:00"];
var monthes=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"];
var monthes=["january","february","march","april","may","june","july","august","september","october","november","december"];
var weeks=["sun","mon","tue","wed","thu","fri","sat"];
var weeks=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"];
還有就是這個了:
var weeks=["","","","","","",""];
有關陣列的運算
一維陣列 int a printf n a 陣列首元素的位址 printf n a 1 陣列第二個元素的位址 首元素位址 4 printf n a 陣列的位址 printf n a 1 陣列的位址 1,跳過整個陣列 printf n sizeof a 16 整個陣列的位元組數 printf n si...
to date有關時間的預設
to date 201205 yyyymm 日取1號,且時間為00 00 00 即為20120501 00 00 00 to date 2012 yyyy 月份取當前月份,日取1日,時間為00 00 00 即為20120501 00 00 00 to date 20120502,yyyymmdd 時...
有關時間C 的轉換
最近看 遍歷資料夾和檔案,裡面有這麼一句顯示 cout name time write size 獲得的最後修改時間是time t格式的長整型,需要用其他方法轉成正常時間顯示這個時間是乙個int64的utc時間戳,全是數字看起來不好,換成年月日的字串是最好的。順便就學習了下時間相關。首先解決辦法是先...