StrDateTime = strDateTime & "Format F :" & Format(Now, "F") & vbCrLf StrDateTime = strDateTime & "Format t :" & Format(Now, "t") & vbCrLf ![]() StrDateTime = strDateTime & "Format T :" & Format(Now, "T") & vbCrLf StrDateTime = strDateTime & "Format d :" & Format(Now, "d") & vbCrLf StrDateTime = strDateTime & "Format D :" & Format(Now, "D") & vbCrLf StrDateTime = strDateTime & "Format G :" & Format(Now, "G") & vbCrLf We can also format the DateTime variable with the existing format list as below sample.
0 Comments
Leave a Reply. |