Automation Testing
Quick Test Professional.
Friday, June 11, 2010
FormatDatetime Function
Syntax:
FormatDateTime(Date[,NameFormat])
Name of the Format:
vbGeneralDate vbLongDate vbShortDate vbLongTime VbShortTime
Code:
Dim TDate, MyReturn
TDate = Now
MyReturn = FormatDateTime(TDate, vbGeneralDate)
MsgBox MyReturn
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment