conception_native_0123
Well-known member
- Local time
- Yesterday, 22:13
- Joined
- Mar 13, 2021
- Messages
- 1,923
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
https://stackoverflow.com/questions/27800376/how-to-get-file-creation-date-on-browser-using-javascript-or-jquery
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
https://stackoverflow.com/questions/27800376/how-to-get-file-creation-date-on-browser-using-javascript-or-jquery
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.