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: Link Creation Time
Topic Summary:
Created On: 6-Jul-2007 11:08
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.
 6-Jul-2007 11:08
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

Hi,

I need to have exact date and time of when a link is created.

I tried with the code which i got from the forum

Module m
Object o
Link lnk
Date d

m = current()

for o in m do {
     for lnk in o <- "*" do {
          d = lnk."Created On"
          d = dateAndTime(d)
          print "Date:" d "\n"
     }
}


i am gettting an error message like undeclared variable....  (dateAndTime(d))


I do have the function for getting the exact time and date when a link was modified
      Date lastModifiedTime(Link
but not the exact time when a link was created...

  

Report this to a Moderator Report this to a Moderator
 8-Jul-2007 20:29
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You code works for me in version 8.1. What version are you using?
Report this to a Moderator Report this to a Moderator
 9-Jul-2007 06:07
User is offline View Users Profile Print this message


Subrojyoti Sengupta

Posts: 52
Joined: 18-Nov-2005

The version which i am using is 7.1 , are there any commands to get the exact date and time of when the link was created like we have for last modified time Date lastModifiedTime(lnk).
Report this to a Moderator Report this to a Moderator
 9-Jul-2007 08:49
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

There is no function to return the exact creation time of a link, or object.

A link becomes suspect when an object at either end changes.

A link does not become suspect when the link changes (i.e. a link attribute is modified). Because this is an operation on the link itself it woud make no sense to fire suspect links for this.

By the way, Telelogic's built-in suspect link functionality uses lastModifiedTime(link).

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