Jump to content

Current Date Attribute


CiCAD

Recommended Posts

i would like to have an attribute that reads the current date, so every time i plot a sheet its always reading the current date of the attribute

 

I have found the following online but the date reads MM/DD/YY

 

 

%%

 

I need the date to read DD/MM/YY

Link to comment
Share on other sites

i would like to have an attribute that reads the current date, so every time i plot a sheet its always reading the current date of the attribute

 

I have found the following online but the date reads MM/DD/YY

 

 

%%

 

 

I need the date to read DD/MM/YY

 

 

Hi there. When you are in the attribute definition dialog box, on the right hand side of the "Default:" Field, there is a click box. Click that box and it opens a field dialog box. In the left hand colum scroll down to "PlotDate" and that will populate the right hand colum with a a whole bunch of different options. Find that one that best suits what you want and you are on your way.

 

Hope this helps.

Link to comment
Share on other sites

In the FIELD under Diesel Expression

 

$(edtime, 0, MON DD"," YYYY)

 

or just PASTE this in to the MTEXT Editor

 

%<\AcDiesel $(edtime, 0, MON DD"," YYYY)>%

 

It will give Dec 20, 2012

 

In the FIELD catagory OTHER>System Variable, choose Date and select the option you want.

 

or PASTE this into MTEXT

 

%<\AcVar Date \f "MM/dd/yy">%

 

for

12/20/12

 

 

%<\AcVar Date \f "dd/MM/yy">%

 

20/12/12

Edited by SLW210
Link to comment
Share on other sites

i am mistaken, i just paste the text into the field for the MTEXT.

the above two formulas give me no result, just 4 dashes

 

It will display the informartion you want to see when you plot it. Test it. It will work.

Link to comment
Share on other sites

  • 7 months later...

At the command prompt type:

 

'RTEXT'

then 'D' (without quotes)

 

Copy & paste in the following string:

 

$(edtime, $(getvar,date), DD/MO/YYYY HH:MM SS)

 

(this won't work in LT)

Link to comment
Share on other sites

At the command prompt type:

 

'RTEXT'

then 'D' (without quotes)

 

Copy & paste in the following string:

 

$(edtime, $(getvar,date), DD/MO/YYYY HH:MM SS)

 

(this won't work in LT)

No but this will:

-TEXT;1;1;0;($M=$(EDTIME,0,DD/MO/YYYY H:MM AM/PM));

you could even do:

revdate;1,1;0;

Change the positioning variables as needed of course.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...