DATE$ function - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: DATE$ function (/showthread.php?tid=2060) |
RE: DATE$ function - eoredson - 10-13-2023 @steve: Yes. I will admit so. RE: DATE$ function - eoredson - 10-19-2023 This site declares a function call to avoid UAC but again does not seem to do anything.. https://www.winhelponline.com/blog/run-programs-elevated-without-getting-the-uac-prompt/ RE: DATE$ function - eoredson - 10-21-2023 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. RE: DATE$ function - SpriggsySpriggs - 10-21-2023 As expected. RE: DATE$ function - SMcNeill - 10-21-2023 (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: GOSH!! Now that's Amazing! It's almost like it synchs your settings to the internets! Who'd a thunk it??! RE: DATE$ function - eoredson - 10-21-2023 (10-21-2023, 04:17 AM)SMcNeill Wrote:The internet clock sych settings are:(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: 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. RE: DATE$ function - SpriggsySpriggs - 10-21-2023 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. RE: DATE$ function - eoredson - 10-23-2023 (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. RE: DATE$ function - SMcNeill - 10-23-2023 Sure it can. You just need to run on a DOS operating system. RE: DATE$ function - SpriggsySpriggs - 10-23-2023 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. |