vb ¦p¦ó±N107¦~01¤ë16¤é¦¹ºØ¤å¦r®æ¦¡Âà´«¬°¤é´Á®æ¦¡ ?
- ©«¤l
- 759
- ¥DÃD
- 249
- ºëµØ
- 0
- ¿n¤À
- 1021
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 11
- ³nÅ骩¥»
- OFFICE2021
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-5-30
- ³Ì«áµn¿ý
- 2024-11-15
|
vb ¦p¦ó±N107¦~01¤ë16¤é¦¹ºØ¤å¦r®æ¦¡Âà´«¬°¤é´Á®æ¦¡ ?
vb ¦p¦ó±N107¦~01¤ë16¤é¦¹ºØ¤å¦r®æ¦¡Âà´«¬°¤é´Á®æ¦¡ ?
¥Øªº==>§PÂ_¤é´Áªº¤j¤p |
|
|
|
|
|
|
- ©«¤l
- 759
- ¥DÃD
- 249
- ºëµØ
- 0
- ¿n¤À
- 1021
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 11
- ³nÅ骩¥»
- OFFICE2021
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-5-30
- ³Ì«áµn¿ý
- 2024-11-15
|
¦^´_ t8899
Hsieh µoªí©ó 2018-1-17 09:21
©êºp¡A107¦~01¤ë16¤é ¬OÅÜ¼Æ ¹³ 108¦~02¤ë09¤é |
|
|
|
|
|
|
- ©«¤l
- 109
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 114
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7 Win10
- ³nÅ骩¥»
- Office 2019 WPS
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ²`¦`
- µù¥U®É¶¡
- 2013-2-2
- ³Ì«áµn¿ý
- 2024-11-6
|
¦^´_ 1# t8899
§Ú²q¥t¤@ӽ׾¸̪º¤]¬O§A§a¡Aºâ¤F³o¸Ì¦AÖ߶K¤@¦¸¡G- Function MDate2Date(ByVal strDate As String, ByRef RefDate As Date) As Boolean
- Dim MatChes As Object
- Dim I As Long, K As Long
- Dim strTemp As String
- Dim Date1 As Date
-
- On Error GoTo MDate1DateError
- RefDate = Date1
- Date1 = #1/1/1912#
- With CreateObject("VBScript.RegExp")
- .Global = True
- .Pattern = "\d+[\\/¦~\-]\s*\b((0{0,1}[1-9])|(1[0-2]))[\\/\-¤ë]\s*\b((0{0,1}[1-9])|([12]\d)|(3[0-1]))(¤é|\b)"
- Set MatChes = .Execute(strDate)
- If MatChes.Count Then
- strDate = MatChes.Item(0)
- Else
- Exit Function
- End If
- .Pattern = "\d+"
- Set MatChes = .Execute(strDate)
- For I = 1 To 3
- K = Val(MatChes.Item(I - 1))
- Date1 = DateAdd(Choose(I, "yyyy", "m", "d"), K - 1, Date1)
- Next I
- MDate2Date = Day(Date1) = K
- If MDate2Date Then RefDate = Date1
- End With
- MDate1DateError:
- End Function
½Æ»s¥N½X |
|
¥@¬É¨º»ò¤j¡A¥i§Ú·Q¥hþ¡H
|
|
|
|
|