![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Date problems Topic Summary: Created On: 9-Feb-2006 13:57 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: How annoying is that? Doesn't happen to me (I am in the UK). Doors gets its date format settings from the locale settings on your client machine. Manual says you can change them, but I can't see how. Alternatively, you could use your own DXL function to format the string. I do this already because we can't understand US-style dates! The following is what I use. | |
![]() |
|
I have written a script in v7.1 that returned the Object ID and date created of all objects created within the past year. When I tried to run that script in v8.0 it failed, because Telelogic has added the day of creation to the "Created On" attribute. has anyone figured out how to strip the day off and leave just the date?
Here is a stripped down version of the script Object o Module m = current for o in m do{ date1=probeAttr_(o,"Created On") print date1"\n" } and here is a portion of the output Monday, September 30, 2002 Friday, October 25, 2002 Wednesday, February 01, 2006 Friday, October 25, 2002 I want to lose the day and just get the intOf the date. ------------------------- David A. Rose TSgt USAF NCOIC System Administration |
|
![]() |
|
![]() |
|
How annoying is that?
Doesn't happen to me (I am in the UK). Doors gets its date format settings from the locale settings on your client machine. Manual says you can change them, but I can't see how. Alternatively, you could use your own DXL function to format the string. I do this already because we can't understand US-style dates! The following is what I use. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Date problems
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.