Created
June 26, 2014 21:48
-
-
Save xsited1/f2e675445016a4b976a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim today, year, month, day As String | |
year = DateTime.Today.Year.ToString | |
If year.Length = 1 Then | |
year = "0" + year | |
End If | |
month = DateTime.Today.Month.ToString | |
If month.Length = 1 Then | |
month = "0" + month | |
End If | |
day = DateTime.Today.Day.ToString | |
If day.Length = 1 Then | |
day = "0" + day | |
End If | |
today = String.Concat(year, month, day) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment