|
|
|
BlueCielo TeamWork 2012 Release Notes | BlueCielo ECM Solutions
|
You are here: Known Problems > Application Links > Specifying date format in AutoCAD Title Blocks
Specifying The Date Format In AutoCAD Title Blocks
For the AutoCAD
link it is now possible to specify, per title block, what date/time format
to use. To specify the format, add a value to the relevant title block
definition in the AutoCAD Application Link Settings:
[TITLEBLOCK]
TitleBlockDateFormat=[format
string]
The format
string can consist of one or two parts: one for the date, and one for
the time. To specify a date format use “D{date format string}”; to specify
a time format, use “T{time format string}”. If an empty string is used
(“D{}” and “T{}”) the system settings are used for short formats. If not
TitleBlockDateFormat value is specified at all, the default “D{}” will
be used.
Date formatting
options:
- d
Day of the month.
- dd
Day of the month as two digit number with leading zero.
- ddd
Day of the week as three letter abbreviation. The used abbreviation is
determined by the systems regional settings.
- dddd
Day of the week as full name. The used name is determined by the systems
regional settings.
- M
Month as number.
- MM
Month as two digit number with leading zero.
- MMM
Month as three letter abbreviation. The used abbreviation is determined
by the systems regional settings.
- MMMM
Month as full name. The used name is determined by the systems regional
settings.
- y
Year as two digit number without leading zero.
- yy
Year as two digit number with leading zero.
- yyyy
Year as four digit number.
Time formatting
options:
- h
Hours in 12-hour notation.
- hh
Hours in 12-hour notation as two digit number with leading zero.
- H
Hours in 24-hour notation.
- HH
Hours in 24-hour notation as two digit number with leading zero.
- m
Minutes.
- mm
Minutes as two digit number with leading zero.
- s
Seconds.
- ss
Seconds as two digit number with leading zero.
- t
AM/PM string as single character. The used abbreviation is determined
by the systems regional settings.
- tt
AM/PM string as word. The used text is determined by the systems regional
settings.
Examples:
- D{dddd MMMM d yyyy} T{hh:mm:ss tt} Sunday
June 1 2003 02:04:23 PM
- D{dd-MMM-yyyy} T{HH:mm:ss} 01-Jun-2003
14:04:23
- D{m-d-yy} T{h:mmt} 6-1-03
2:04p
Note
that when specifying date/time formatting strings it is likely that the
link between AutoCAD and TeamWork is unable to convert the values back
from the title block to the TeamWork vault.