Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

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


143 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 (137 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,204
Registered: ‎12-11-2003
Message 3 of 3 (105 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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!