Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Date problems
Topic Summary:
Created On: 9-Feb-2006 13:57
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Tony Goodman, on Wednesday, March 1, 2006 1:57 PM

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.
 9-Feb-2006 13:57
User is offline View Users Profile Print this message


David Rose

Posts: 80
Joined: 10-Oct-2003

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
Report this to a Moderator Report this to a Moderator
 9-Feb-2006 14:34
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Answer 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.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.