Hello, I’ve been searching for several days a solution to set Mac OS X date using an Apple Script app. I’ve found this script, the point is that it is only modifying month and year. Here it is
do shell script "date 11`date +%d%H%M`12" user name "Your Username" password "Your Password" with administrator privileges
11 being the month and 12 the year. Does anybody knows how to change the day too ?
Thank you !
Model: iMac Late 2010, Macbook Pro Mid 2012, Macbook Unibody mid 2010, iPhone 4S, iPad 1
AppleScript: 2.5
Browser: Safari 536.26.17
Operating System: Mac OS X (10.8)