by Ghaffar Nagapour (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 6th August 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Advenced Windows Date
'Email:[email protected]
'Location:Iran-Mazandaran-Tonekabon
'***********
'Add 1CommandButton and 1Label to form
Dim m, y, d, x
Private Sub Command1_Click()
m = MonthName(Month(Date), False)
y = Year(Date)
d = Day(Date)
week = WeekdayName(Weekday(Date), False, vbUseSystemDayOfWeek)
x = "Today is: " & week & " " & d & " " & m & " " & y
Label1.Caption = x
End Sub