Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Attribute VB_Name = "basTimestamp"
- Public Function DateStamp() As String
- Dim Tmp As String
- Tmp = Date$
- DateStamp = Mid(Tmp, 7, 4) & Mid(Tmp, 1, 2) & Mid(Tmp, 4, 2)
- End Function
- Public Function TimeStamp() As String
- Dim Tmp As String
- Tmp = Time$
- TimeStamp = Mid(Tmp, 1, 2) & Mid(Tmp, 4, 2) & Mid(Tmp, 7, 2)
- End Function
- Public Function Stamp() As String
- Stamp = DateStamp() & TimeStamp()
- End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement