isladogs
Access MVP / VIP
- Local time
- Today, 19:03
- Joined
- Jan 14, 2017
- Messages
- 19,374
I've been away for a few hours.
Yes I do have code that does all that and have used it in more than one commercial app with a time-limited evaluation version.
However I've not published the system date check code online.
What I will share is my notes from that code including the link that got me started:
Here is a list of the procedures I used:
I used some of the code provided without modification but also made changes elsewhere
Yes I do have code that does all that and have used it in more than one commercial app with a time-limited evaluation version.
However I've not published the system date check code online.
What I will share is my notes from that code including the link that got me started:
Code:
'https://stackoverflow.com/questions/48371398/get-date-from-internet-and-compare-to-system-clock-on-workbook-open
'You will need to do this in steps
'Get UTC time from internet
'Convert UTC to local time, taking into account DST
'Compare tho PC clock
'Apply a tolerance
'UTC time functions from cpearson.com
Here is a list of the procedures I used:
I used some of the code provided without modification but also made changes elsewhere