CiCAD Posted December 19, 2012 Share Posted December 19, 2012 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 Quote Link to comment Share on other sites More sharing options...
SMP Posted December 19, 2012 Share Posted December 19, 2012 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. Quote Link to comment Share on other sites More sharing options...
SMP Posted December 19, 2012 Share Posted December 19, 2012 Also this: %% It gives you the full year. I am sure you can chop it up if you have to to just %% Quote Link to comment Share on other sites More sharing options...
CiCAD Posted December 20, 2012 Author Share Posted December 20, 2012 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 Quote Link to comment Share on other sites More sharing options...
SLW210 Posted December 20, 2012 Share Posted December 20, 2012 (edited) 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 December 20, 2012 by SLW210 Quote Link to comment Share on other sites More sharing options...
SMP Posted December 20, 2012 Share Posted December 20, 2012 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. Quote Link to comment Share on other sites More sharing options...
Happy Hobbit Posted August 1, 2013 Share Posted August 1, 2013 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) Quote Link to comment Share on other sites More sharing options...
Tuns Posted August 5, 2013 Share Posted August 5, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.