Display Current Time in MsgBox

PHOTO EMBED

Thu Aug 03 2023 21:42:37 GMT+0000 (Coordinated Universal Time)

Saved by @raymoncool #vba

Option Explicit
Sub TimeRightNow()
Dim T as Date		//Declare Variable 
T = now				//Give Variable T return Value of now function

MsgBox Format(T, "mm-dd-yyyy mm:hh")	//Display Formatted Date 

End Sub
content_copyCOPY