[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]

Defining Text References to be date attributes and specifying a display format - Concepts

Introduction

Defining Text References to be date attributes and specifying a display format.

Example

To set the display format for text references that have been specified to be date attributes

  1. Register the attribute name used in the text reference as a date attribute.
        (sd-uwgm-tr-register-date-attribute "PTC_WM_CREATED_ON")
        (sd-uwgm-tr-register-date-attribute "PTC_WM_MODIFIED_ON")
    
  2. Set the format
        (sd-uwgm-tr-set-date-format "DD/MON/YYYY" :format-always :on)
    
[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2024 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved