Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Option Explicit
Private Sub Command1_Click()
Dim yourDate As Double
Dim myDate As Date
Dim myString As String
yourDate = 19930203
myString = Trim(Str(yourDate))
'if your last 2 char are the day
myString = Right(Left(myString, 6), 2) & "/" & _
Right(myString, 2) & "/" & Left(myString, 4)
Debug.Print (myString)
myDate = Format(myString, "mm/dd/yyyy")
myString = Format(myDate, "mm/dd/yy")
Debug.Print (myString)
End Sub