SundayXsniger

"Set my PC date and time " Help me please .

27 posts in this topic

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.

Share this post


Link to post
Share on other sites



This link may help

Share this post


Link to post
Share on other sites
Quote
18 hours ago, MuffinMan said:

This link may help

 

i followed this script doesn't run 

Share this post


Link to post
Share on other sites

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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

Share this post


Link to post
Share on other sites
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 .

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

#10 ·  Posted

Please change as below image:

2016-11-12_1616079mpcr.jpg

 

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

1 hour ago, meoit said:

<snip>

yes i can do it ,but iwant to change by autoit script. thank

Edited by Melba23
Removed large quote

Share this post


Link to post
Share on other sites

#12 ·  Posted

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#13 ·  Posted

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.

Share this post


Link to post
Share on other sites

#14 ·  Posted

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 


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#15 ·  Posted

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 

Share this post


Link to post
Share on other sites

#16 ·  Posted

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

Share this post


Link to post
Share on other sites

#17 ·  Posted

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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#18 ·  Posted

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._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

Share this post


Link to post
Share on other sites

#19 ·  Posted

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.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.