- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 35# c_c_lai - '# # ¬°¨t²Î¿é¤J¤é´Á®É¶¡ªºÃöÁä¦r
- '#00:00# ¨t²Î¦Û°Ê¥Í¦¨ -> #12:00:00 AM#
- '#11:59# ¨t²Î¦Û°Ê¥Í¦¨ -> #11:59:00 AM#
- '#13:01# ¨t²Î¦Û°Ê¥Í¦¨ -> #1:01:00 PM#
- '#23:01# ¨t²Î¦Û°Ê¥Í¦¨ -> #11:01:00 PM#
- Option Explicit
- Sub Ex()
- Dim TheTime As Date, xTime As Date
- MsgBox "#11:59:59 AM# + #12:00:01 AM#" & Chr(10) & CDate(#11:59:59 AM# + #12:00:01 AM#)
- TheTime = #8:45:05 AM#
- xTime = TimeSerial(Hour(TheTime), 0, 0)
- MsgBox xTime
- xTime = TimeSerial(Hour(TheTime), Minute(TheTime), 0)
- MsgBox xTime
- xTime = TimeSerial(Hour(TheTime), Minute(TheTime), 0) + #12:01:00 AM#
- MsgBox xTime
- End Sub
½Æ»s¥N½X |
|