Current date issue

Current date issue

Anonymous
Not applicable
1,934 Views
3 Replies
Message 1 of 4

Current date issue

Anonymous
Not applicable

Hi, everyone,

 

I am looking for a way to put the current date in a text field, but I don't want to have it updated every day.

 

Let me clarify: In Excel, for example, if we put in a cell 

=today()

 we will obtain the current date and if we open the file tomorrow, the date will be referred to the current date of opening the file

 

On the other hand, again in Excel, if we hit Ctrl+; (semicolon) we obtain today's date and every other day we open the file, there will be the same old date, no updates daily, a plain text.

 

In AutoCAD something similar is possible as well. If we insert/edit a field ->Field Category->Other->Diesel Expression and in the right textfield we put this:

$(edtime,$(getvar,date),D.M.YYYY)

We will obtain the current date and it will be updated every day. This is equivalent of the Excel's 

=today()

 Is there an equivalent of Excel's ctrl+; in AutoCAD, so when I put the date of today, tomorrow it will not be changed. Probably a hotkey or IDK?

0 Likes
Accepted solutions (2)
1,935 Views
3 Replies
Replies (3)
Message 2 of 4

dbroad
Mentor
Mentor
Accepted solution

I would suggest the createdate field. Or you could just create the date and then right click on it and choose convert to text.

Architect, Registered NC, VA, SC, & GA.
Message 3 of 4

user181
Mentor
Mentor
Accepted solution

If you go to the field category Date & Time there are options for Create Date, Plot Date and Save Date that update at those specific times. Depending on when you want the date to update one of those might work for you.

EESignature


Message 4 of 4

Anonymous
Not applicable

Both solutions work very well, thank you @user181 and @dbroad.