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: Append a date to DXL output file
Topic Summary:
Created On: 6-Apr-2008 20:01
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-Apr-2008 20:01
User is offline View Users Profile Print this message


Lisa Carver

Posts: 61
Joined: 15-Jun-2005

Hi Everyone

I know that date formatting has been discussed before here, I have looked and tried some of advice given.
But I cannot find what I need.
Can anyone help please?
I would like to append a date to my output csv file (generated by dxl), i.e. if it is a weekly scheduled output I would need something like 'FileOutput_20080406.csv'
(yyyymmdd) with no slashes or hyphens.
I can't seem to manipulate the dates to do that.

Any ideas please?

Many thanks
Report this to a Moderator Report this to a Moderator
 7-Apr-2008 07:22
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

Try (in DOORS 8.x)

string currDate = stringOf(today, "yyyyMMdd")

For more information look into stringOf(date) in DXL help and the example code in the Dates section of DXL help.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/

Edited: 7-Apr-2008 at 07:34 by Pekka Mäkinen
Report this to a Moderator Report this to a Moderator
 7-Apr-2008 09:23
User is offline View Users Profile Print this message


Lisa Carver

Posts: 61
Joined: 15-Jun-2005

Thank you Pekka, I will check it out.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.