零辰時間的寫法?
香港恆生指數9:15 am ~ 1:00 am共15.25小時
請問哪一個寫法?
1.time>=915 and time <=0100
2. time>=915 and time <=2359 and time >=0000 and time <=0059
3. 其他
本帖最後由 jason680 於 18-11-5 21:51 編輯
1跟2都要改一下...
1.time>=0915 or time <=0100
2. time>=0915 and time <=2359 or time >=0000 and time <=0059
1是2的簡化...
我的習慣會這樣寫...2. 0915 <= timeand time <=2359 or 0000 <= time and time <=0100
因為時間不會超過24小時及小於零晨(沒有負值),簡化後...
1. 0915 <= timeand time <=2359 or 0000 <= time and time <=0100
1. 0915 <= time ortime <=0100
thanks, Jason 大師 , 可以由早上到零辰時段交易了
頁:
[1]