Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change format of "SW-Created Date" property?

Status
Not open for further replies.

cmm

Mechanical
Jan 11, 2002
95
When in a drawing I insert a link to the "SW-Created Date" property it outputs the date in Windows long date format followed by the time of day. Does anyone know how to make the "SW-Created Date" property output in Windows short date format w/o the time of day? Or is there any other way to automatically insert into drawings the date of creation in MM/DD/YY format? Are there any macros out there that do this? Thanks, Chris
 
Replies continue below

Recommended for you

I would guess that SW uses the format set in your Regional Settings. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
Yes, "SW-Created Date" uses the long date format specified in regional settings, but it also inserts the time of day. I could change my computer's long date format to MM/DD/YY but then anyone who uses my drawing templates would have to do the same, which is undesirable. However the main problem is the time stamp that I don't know how to get rid of.
 
Sorry about that. I read your post too fast and totally missed the point. Anyway, I have not found a way to override the time stamp. Maybe someone else has an idea. DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
 
The only way that I know of to accomplish this is to make a manual entry in the custom properties for that document, and re-direct the link in the the title block of the drawing to point to that custom property.

For instance:

create a custom property variable (as text) call it "CDATE"
and assign it a value mm/dd/yy.

change the linked property of the created date annotation from $PRPSHEET{SW-Created Date}to point to $PRPSHEET{CDATE}

this will give you absolute control over the date format no matter who opens it and pays no mind to their regional settings.

There is a quicker way to add custom properties. There is an application called "quick custom properties" that one of the guy's i work with wrote as an external application that you install and run from the start menu. If you'd like I can see if I can slide you a copy. Regards,
Jon
jgbena@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor