Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Date

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
thavasi1982
262 Views, 2 Replies

Date

Dear all, How can i Retrieve today date through Lisp. STM
2 REPLIES 2
Message 2 of 3
Hallex
in reply to: thavasi1982

Try

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

 

~'J'~

_____________________________________
C6309D9E0751D165D0934D0621DFF27919
Message 3 of 3
scot-65
in reply to: thavasi1982

(fix (getvar 'CDATE))

Convert to string and pull apart using SUBSTR.


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost