Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DATE$ function
#31
@steve: Yes. I will admit so.
Reply
#32
This site declares a function call to avoid UAC but again does not seem to do anything..

https://www.winhelponline.com/blog/run-p...ac-prompt/
Reply
#33
What is interesting is if Date$ or Time$ is set in QB64 using SetLocalTime that the system will reset to the current date/time when:
Control Panel->Date/Time->Internet synch schedule.
Reply
#34
As expected.
Tread on those who tread on you

Reply
#35
(10-21-2023, 03:15 AM)eoredson Wrote: What is interesting is if Date$ or Time$ is set in QB64 using SetLocalTime that the system will reset to the current date/time when:
Control Panel->Date/Time->Internet synch schedule.

GOSH!!  Now that's Amazing!  It's almost like it synchs your settings to the internets!  Who'd a thunk it??!

Wink
Reply
#36
(10-21-2023, 04:17 AM)SMcNeill Wrote:
(10-21-2023, 03:15 AM)eoredson Wrote: What is interesting is if Date$ or Time$ is set in QB64 using SetLocalTime that the system will reset to the current date/time when:
Control Panel->Date/Time->Internet synch schedule.

GOSH!!  Now that's Amazing!  It's almost like it synchs your settings to the internets!  Who'd a thunk it??!

Wink
The internet clock sych settings are:

  time.windows.com

and

  time.nist.gov

this fact puts this thread to shame since these settings for date/time are being restored. What a waste.

This also is finishing all attempts to bypass UAC whatsoever since it behaves like other Windows locked downs similar to Control-Alt-Delete which cannot be trapped.

Erik.
Reply
#37
You must be quite the special case if you are needing to change your time using QB64. Most folks just open up settings and change it. Anyways, good luck if you decide to turn off your UAC because you will open up your computer to all sorts of issues.
Tread on those who tread on you

Reply
#38
(10-21-2023, 06:50 AM)SpriggsySpriggs Wrote: You must be quite the special case if you are needing to change your time using QB64. Most folks just open up settings and change it. Anyways, good luck if you decide to turn off your UAC because you will open up your computer to all sorts of issues.

I was considering the compatibility to QB45 which has assignments to Date$ and Time$ and why not? It can be done.
Reply
#39
Sure it can.  You just need to run on a DOS operating system.  Smile
Reply
#40
One must also consider the fact that having the wrong time means some websites will be broken as they use the computer's time to verify that you are synced and whatnot. If your time is wrong, some websites will just not grant access even if your username and password is correct. The time must be within a minute of the expected time.
Tread on those who tread on you

Reply




Users browsing this thread: 1 Guest(s)