![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Format ccm_date type attribute Topic Summary: Created On: 2-Aug-2006 19:27 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
When a ccm_date type attribute is printed in an email notification it appears in this format : 1156914000000.
|
|
![]() |
|
![]() |
|
If you're using the perl API to generate the email, try using the getDate method instead of the getValue method. Or, if you need a specific date format, use the getValue method and then use the POSIX module's strftime function to format it.
... my $modifyTime_value = $problem->getDataObjectByName("modify_time")->getValue(); my $dateFormat = "%Y/%m/%d %H:%M:%S"; my $modifyTime = &POSIX::strftime($dateFormat, localtime($modifyTime_value)); ... -Julie Lee |
|
![]() |
Telelogic SYNERGY
» SYNERGY/Change
»
Format ccm_date type attribute
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.