ferry Posted October 11, 2011 Posted October 11, 2011 Is it possible to get the Internet date and time in a drawing by means of Visual lisp? Ferry. Quote
autolisp Posted October 11, 2011 Posted October 11, 2011 dear chk this link http://www.theswamp.org/index.php?topic=39491.msg447974#msg447974 Quote
ferry Posted October 11, 2011 Author Posted October 11, 2011 dear chk this link http://www.theswamp.org/index.php?topic=39491.msg447974#msg447974 Thanks, But what is wong: (LM:InternetTime "DD.MO.YYYY") gives: "01.4.18582.2.115.2011.1\n Quote
Lee Mac Posted October 11, 2011 Posted October 11, 2011 Have you modified the function in any way? Quote
ferry Posted October 11, 2011 Author Posted October 11, 2011 No, I did not modify the function. See in the attachment InternetTime.lsp Ferry. InternetTime.lsp Quote
Lee Mac Posted October 11, 2011 Posted October 11, 2011 That is quite odd - it appears the result from the NIST time server is different from that which is returned when I test it. All is working fine for me - perhaps it returns something different based on location? Quote
jan_ek Posted August 11, 2014 Posted August 11, 2014 Hello, I have a different problem. Sometimes, the function returns an error: "Automation Error 80020009; [iServerXMLHTTPRequest2] Error accessing [sEND] method. ErrIndex=0" Please help.The function returns after several calls to the correct value. Quote
BIGAL Posted August 12, 2014 Posted August 12, 2014 From the land down under 12:36 pm 12/08/2014 Command: TEST1 01.4.18582.2.102.2014.1 Quote
Matw8 Posted March 9, 2015 Posted March 9, 2015 the lisp uses port number 13 to retrieve data from the server: (setq server "http://time.nist.gov:13") ...maybe your port is closed, check it. Thank you, Lee Mac, for sharing all your codes! Matteo Quote
Lee Mac Posted March 9, 2015 Posted March 9, 2015 You're welcome Matteo! - and welcome to CADTutor! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.