conception_native_0123
Well-known member
- Local time
- Today, 16:27
- Joined
- Mar 13, 2021
- Messages
- 1,834
i have small code where i trying to get a file's create date and modified date. the code is
i also look at this page just as general reference
but the last modified is coming to me as actually 5 seconds before i run that line of code. so it is telling me on my end. not date of document last modified by uploading on company's end. what am i doing wrong? thank you.
Code:
sub testpage()
On Error Resume Next
Dim ie As InternetExplorer
Set ie = New InternetExplorer
ie.Visible = True
ie.Navigate "https://www.twiagemed.com/"
Debug.Print "LAST MODIFIED: " & ie.Document.LastModified
Debug.Print "DATE CREATED: " & ie.Document.dateCreated
ie.Quit
End Sub
i also look at this page just as general reference
How to get file creation date on browser using javascript or jquery
I need to find out the file creation date and file last modified date while uploading the xls file, I have to do some calculation on this 2 dates. By using below code I can easily get file last mo...
stackoverflow.com
but the last modified is coming to me as actually 5 seconds before i run that line of code. so it is telling me on my end. not date of document last modified by uploading on company's end. what am i doing wrong? thank you.