AnsweredAssumed Answered

Good way to set Year variable in EPDM

Question asked by Daniel McRae on Apr 29, 2012
Latest reply on May 24, 2012 by Daniel McRae



Does anyone know a good way to set a Year varible to the current year on a transition? I'm wanting to set the varible to the current year when a drawing gets changed to automatically populate the copyright information when the drawing is approved (as opposed to when it is updated in various ways), and this would make life easier. The only difficulty is that I can't see a way to set the variable to the year only - I can set it to the current date (which I seem to remember can be dependent on the computer date formatting), but not the year. I saw somewhere else in the forums someone suggesting using the year as part of a filename via a serial number, but I don't seem to be able to set a variable to a serial number, just the filename.


Any suggestions?


Thanks and regards,