Page 1 of 1

... Reformat a Date Stamp?

PostPosted: Tue Aug 11, 2015 9:40 am
by Neil Blanchard
I want to have a date stamp show as "August 11, 2015". Can this be done, and if so, how?

Re: ... Reformat a Date Stamp?

PostPosted: Tue Aug 11, 2015 10:32 am
by Mark F. Madura
From http://www.datacad.com/ddn/dcadwin.ini.html#Stamp
Code: Select allCustomDateFormat=ddddd
; Custom Date format specifiers
; c displays short date, a space, and long time (i.e., 1/1/2008 1:00:00 PM)
; d displays day as a number (i.e., 1-31)
; dd displays day as a number with a leading zero (i.e., 01-31)
; ddd displays day as an abbreviation (i.e., Sun-Sat)
; dddd displays day as a full name (i.e., Sunday-Saturday)
; ddddd displays short date (i.e., 1/1/2008)
; dddddd displays long date format (i.e., Monday, January 01, 2008)
; e displays year in current era without a leading zero
; ee displays year in current era with a leading zero
; m displays month as a number (i.e., 1-12)
; mm displays month as a number with a leading zero (i.e., 01-12)
; mmm displays month as an abbreviation (i.e., Jan-Dec)
; mmmm displays month as a full name (i.e., January-December)
; yy displays year as a two-digit number (i.e., 00-99)
; yyyy displays year as a four-digit number (i.e., 0000-9999)
; / displays date separator character specified in Customize Regional Options

Re: ... Reformat a Date Stamp?

PostPosted: Tue Aug 11, 2015 2:38 pm
by Neil Blanchard
Thanks Mark. I am still unclear though what to use to get Aug 11, 2015 or August 11,2015.

CustomDateFormat=mmm d yyyy

Doesn't work.

Re: ... Reformat a Date Stamp?

PostPosted: Tue Aug 11, 2015 2:49 pm
by Roger D
seems like I recall something about how Windows date format is set :?: :?

Re: ... Reformat a Date Stamp?

PostPosted: Tue Aug 11, 2015 3:33 pm
by joshhuggins
Neil, make sure you have all three lines for CustomDate filled out. The code below works.
Code: Select allCustomDate=@PLTDATECUSTOM
CustomDateFormat=mmm d, yyyy
CustomDateMenuText=Neil's Date


Neil see if this post might also might help. The question we never got answered was if there was a way to have multiple custom date & time stamps? I could never get another syntax to work, trying to use a set for User_1= with custom date and time coding but couldn't get one working. Would be great if this could work and a bit more explanation on the format for custom stamps.

Re: ... Reformat a Date Stamp?

PostPosted: Thu Aug 13, 2015 8:13 am
by Neil Blanchard
Thanks Josh, I tried this, but even after saving the DcadWin.ini file, and restarting DataCAD - this custom date is not showing up on the Insert/Stamp menu.

Re: ... Reformat a Date Stamp?

PostPosted: Thu Aug 13, 2015 11:17 am
by joshhuggins
Hmm, not sure then. The same lines don't exist somewhere else in your dcadwin.ini file do they?

Re: ... Reformat a Date Stamp?

PostPosted: Fri Aug 14, 2015 9:29 am
by Neil Blanchard
I will have to check.