Automation Testing
Quick Test Professional.
Tuesday, May 25, 2010
Date Part Function
Dim MyDate, MySysDate
MyDate = "January 11, 1981"
MyReturn = CDate(MyDate)
MsgBox MyReturn
StrDatepart = DatePart("yyyy", MyDate)
MsgBox StrDatepart
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment