FormatDateTime(Now, vbGeneralDate) : FileDateTime « File Path « VBA / Excel / Access / Word






FormatDateTime(Now, vbGeneralDate)

 
Sub dateFunctions()
    Debug.Print "vbGeneralDate: " & FormatDateTime(Now, vbGeneralDate)
End Sub

 








Related examples in the same category

1.Retrieve Date and Time of Last Save
2.Displaying a list of files in a directory
3.FormatDateTime(Now, vbShortDate)
4.FormatDateTime(Now, vbLongDate)