IsDate Function

αžŸαžΆαž€αž›αŸ’αž”αž„β€‹αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž›αŸαž αž¬β€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αž’αžΆαž…β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž”αž˜αŸ’αž›αŸ‚αž„β€‹αž‘αŸ…β€‹αž‡αžΆβ€‹αž’αžαŸαžš αž€αžΆαž›β€‹αž”αžšαž·αž…αŸ’αž†αŸαž‘Β αŸ”

αžœαžΆαž€αŸ’αž™β€‹αžŸαž˜αŸ’αž–αž“αŸ’αž’ αŸ–


IsDate (Expression)

αžαž˜αŸ’αž›αŸƒβ€‹αžαŸ’αžšαž‘αž”αŸ‹ αŸ–

αž”αŸŠαžΌαž›

αž”αŸ‰αžΆαžšαŸ‰αžΆαž˜αŸ‰αŸ‚αžαŸ’αžš αŸ–

αž€αž“αŸ’αžŸαŸ„αž˜β€‹ αŸ– αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž›αŸαž αž¬β€‹αžαŸ’αžŸαŸ‚β€‹αž’αž€αŸ’αžŸαžšβ€‹αžŽαžΆβ€‹αž˜αž½αž™ αžŠαŸ‚αž›β€‹αž’αŸ’αž“αž€β€‹αž…αž„αŸ‹β€‹αžŸαžΆαž€αž›αŸ’αž”αž„Β αŸ” αž”αŸ’αžšαžŸαž·αž“β€‹αž”αžΎβ€‹αž€αž“αŸ’αžŸαŸ„αž˜β€‹αž’αžΆαž…β€‹αžαŸ’αžšαžΌαžœβ€‹αž”αžΆαž“β€‹αž”αž˜αŸ’αž›αŸ‚αž„β€‹αž‘αŸ…β€‹αž‡αžΆβ€‹αž€αžΆαž›β€‹αž”αžšαž·αž…αŸ’αž†αŸαž‘ αž’αž“αž»αž‚αž˜αž“αŸβ€‹αžαŸ’αžšαž‘αž”αŸ‹ αž–αž·αž αž•αŸ’αžŸαŸαž„β€‹αž–αžΈβ€‹αž“αŸ„αŸ‡β€‹β€‹αž’αž“αž»αž‚αž˜αž“αŸβ€‹αžαŸ’αžšαž‘αž”αŸ‹ αž˜αž·αž“β€‹αž–αž·αžΒ αŸ”

Error codes:

5 αž€αžΆαžšβ€‹αž αŸ…β€‹αž”αŸ‚αž”αž”αž‘β€‹αž˜αž·αž“β€‹αžαŸ’αžšαžΉαž˜αžαŸ’αžšαžΌαžœ

αž§αž‘αžΆαž αžšαžŽαŸ αŸ–


Sub ExampleIsDate
Dim sDateVar As String
    sDateVar = "12.12.1997"
    print IsDate(sDateVar) REM Returns True
    sDateVar = "12121997"
    print IsDate(sDateVar) REM Returns False
End Sub

Please support us!