Visual LISP, AutoLISP and General Customization

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


138 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 (132 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,128
Registered: ‎12-11-2003
Message 3 of 3 (100 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community