SundayXsniger Posted November 11, 2016 Share Posted November 11, 2016 Please help me to create script for "Set my date and time to current from server internet" exam : my PC fake date is 15/01/2015 but current time is today i want to script autoit to set my pc date from sever intenet help me please Thank. Link to comment Share on other sites More sharing options...
MuffinMan Posted November 11, 2016 Share Posted November 11, 2016 This link may help Link to comment Share on other sites More sharing options...
Bert Posted November 11, 2016 Share Posted November 11, 2016 I have to ask - why do you need a fake date and time? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 Quote 18 hours ago, MuffinMan said: This link may help i followed this script doesn't run Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 12, 2016 Moderators Share Posted November 12, 2016 SundayXsniger, I too would like an answer as to why you need a "fake date" for your machine. And as it apparently needs saying every single time: please will nobody else post until I get a satisfactory answer. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 14 hours ago, Bert said: I have to ask - why do you need a fake date and time? When my date on PC is mistake,I want to script change date to current from internet By autoit . Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 1 minute ago, Melba23 said: SundayXsniger, I too would like an answer as to why you need a "fake date" for your machine. And as it apparently needs saying every single time: please will nobody else post until I get a satisfactory answer. M23 I do not want the fake. But like the script for. The days false Or that do not meet the current date. Using scripts via Autoit. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 12, 2016 Moderators Share Posted November 12, 2016 SundayXsniger, Other than when I manually change the date to test some date-related code or on the odd occasion when I need to reinstall an OS, I have never found my machine's date to be in error - and in those cases I do not need a script to change it back as it is a once-off event. Why do you feel the need to automate what is such a simple task? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 8 minutes ago, Melba23 said: SundayXsniger, Other than when I manually change the date to test some date-related code or on the odd occasion when I need to reinstall an OS, I have never found my machine's date to be in error - and in those cases I do not need a script to change it back as it is a once-off event. Why do you feel the need to automate what is such a simple task? M23 I can change it manually. But I want to try the program to change it. Thank Bro. Link to comment Share on other sites More sharing options...
meoit Posted November 12, 2016 Share Posted November 12, 2016 Please change as below image: Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 (edited) 1 hour ago, meoit said: <snip> yes i can do it ,but iwant to change by autoit script. thank Edited November 12, 2016 by Melba23 Removed large quote Link to comment Share on other sites More sharing options...
Developers Jos Posted November 12, 2016 Developers Share Posted November 12, 2016 3 minutes ago, SundayXsniger said: yes i can do it ,but iwant to change by autoit script. thank Why? it is build in into the OS so use it! Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 Just now, Jos said: Why? it is build in into the OS so use it! Jos I wanted a program that it can change the date by double click. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 12, 2016 Developers Share Posted November 12, 2016 Again WHY? When the OS has the build in ability to sync the date against timeservers on the internet to keep it is sync, there is no need to mickey mouse around with an external script unless you want to mess with the date. So how about telling us what it is you really need to do? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 1 minute ago, Jos said: Again WHY? When the OS has the build in ability to sync the date against timeservers on the internet to keep it is sync, there is no need to mickey mouse around with an external script unless you want to mess with the date. So how about telling us what it is you really need to do? Jos I want to protect my script when they use change date to before software expire Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 1 minute ago, SundayXsniger said: I want to protect my script when they use change date to before software expire I just started beginner using it Still do not understand how much I want to study Link to comment Share on other sites More sharing options...
Developers Jos Posted November 12, 2016 Developers Share Posted November 12, 2016 Don't think when you write software you should modify the date/time of your "customer's" computer! It is fine to monitor and check the date against the internet date/time but it does't feel right to force the date when it isn't your computer. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 12, 2016 Moderators Share Posted November 12, 2016 meoit, Which bit of: Quote And as it apparently needs saying every single time: please will nobody else post until I get a satisfactory answer. was unclear to you? When Mods are asking question, just keep out of the way - especially when they have specifically asked that everyone else stays quiet. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
SundayXsniger Posted November 12, 2016 Author Share Posted November 12, 2016 1 minute ago, Jos said: Don't think when you write software you should modify the date/time of your "customer's" computer! It is fine to monitor and check the date against the internet date/time but it does't feel right to force the date when it isn't your computer. Jos i dont want to change my "customer's" computer to fake but iwant to change to current from server internet or how it is Protection program my way, please help me. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 12, 2016 Developers Share Posted November 12, 2016 You shouldn't be changing it at all! Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts