Translations:Macros/General/005/1/en

From The Document Foundation Wiki
Jump to navigation Jump to search

Description

The function FileDateTime(Text As String) takes file location path as input parameter string, and returns characters containing date and time of creation or last modification of a file. The result if no format is specified is: MM/DD/YYYY HH:MM:SS. For example MsgBox FileDateTime("/home/user1/Documents/foo.odt").