|
-
Dec 16th, 1999, 05:29 PM
#3
Addicted Member
You can use Format() function
MyStr = Format(Time, "Short Time")
MyStr = Format(Date, "Short Date")
And for the Date separator:
Function DateSeparator() As String
Dim s As String * 1
s = Right(Date, 3)
DateSeparator = s
End Function
Usage: MsgBox "Date separator is " & DateSeparator
------------------
smalig
[email protected]
http://vbcode.webhostme.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|