The Data type associated with the timestamp attribute properties do not allow you to specify sub second information as does the CA Gen timestamp that provides for sub second six-digit information. To let you work with sub second timestamp information, there is another format of the timestamp property. This property has the same name for property with AsString suffix.
This format of property has the type String and it takes a twenty-digit string containing the CA Gen timestamp format (four digits for year, two digits for month, two digits for day, two digits for hour, two digits for minute, two digits for second and six sub second digits).
For example, attribute TIME of timestamp domain for entity view name IN and entity ORDER:
Op.InOrderTime = #11/20/97 4:56:03 PM# Op.InOrderTimeAsString = "19971120165603123456" ' Same time with sub second value of 123456
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|