![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DATE Topic Summary: Created On: 12-Dec-2006 12:52 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
given a Date how can I extract the day month and year? In VB you can do it like this: If TypeName(aValue) = "Date" Then
print Year(aValue)
print Mont(aValue)
print Day(aValue)
End If
Has DXL such functions? I couldn't find them in the reference manual! cheers Mussie |
|
![]() |
|
![]() |
|
OK I got it!
|
|
![]() |
|
![]() |
|
Make sure what kind of date you have stored in variable!
You can store date together with time by using dateOf(int), e.g.: Date d1 = dateOf(intOf(today)) print d1 "\n" gives output: 12/13/06 10:47:26 Greetings Rafal |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
DATE
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.