Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Valued Contributor
Posts: 75
Registered: ‎01-23-2009
Message 1 of 3 (141 Views)


141 Views, 2 Replies
07-17-2012 11:35 PM
Dear all, How can i Retrieve today date through Lisp. STM
*Expert Elite*
Posts: 1,569
Registered: ‎10-08-2008
Message 2 of 3 (135 Views)

Re: Date

07-18-2012 01:01 AM in reply to: thavasi1982


(setq now (menucmd "M=$(edtime,$(getvar,date),M/D/YYYY)"))



*Expert Elite*
Posts: 2,152
Registered: ‎12-11-2003
Message 3 of 3 (103 Views)

Re: Date

07-18-2012 04:05 PM in reply to: thavasi1982

(fix (getvar 'CDATE))

Convert to string and pull apart using SUBSTR.

Dyslexia is a permanent physical disability that cannot be seen.
Introverts is proof that there is indeed intelligent life on this planet.
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.