Please answer me a [T24] function

1,095 views
Skip to first unread message

Phuong Do Duc

unread,
Jan 31, 2008, 4:00:38 AM1/31/08
to jB...@googlegroups.com
Hi all,
 
In T24, when I want to change format DATE to JulianDate, I can use JULDATE function, ex:
 
MY.DAY = "20080215" (yyyymmdd format)
CALL JULDATE(MY.DAY, MY.JULIAN.DAY)
It will convert MY.DAY's value (yyyymmdd) then assign result to MY.JULIAN.DAY (by format yyyynnn, n: is the number of the day in the year (0-366)
MY.JULIAN.DAY variable = "2008046"
 
Now I want to revert MY.JULIAN.DAY to MY.DAY (I mean I have value 2008046, I want to convert it to 20080215). Which function in T24 can do it?
 
Please help me, thank you very much.
 
Do Duc Phuong.

Kanesolve Gmail

unread,
Jan 31, 2008, 4:09:17 AM1/31/08
to jB...@googlegroups.com

The JULDATE function can do the the vice versa also.  When you pass T24 date  it returns julian date and when you pass Julian date it returns the T24 date.

 

 


Phuong Do Duc

unread,
Jan 31, 2008, 4:18:44 AM1/31/08
to jB...@googlegroups.com
Hi Kanesolve,
Greate, fast and exact, I've tested, thank you very much, it really simple with me now.
Thank you once again.

Do Duc Phuong.
 
2008/1/31, Kanesolve Gmail <kane...@gmail.com>:

Panneer kumar Panneer Kumar

unread,
Jan 31, 2008, 3:25:10 PM1/31/08
to jB...@googlegroups.com
Hi,
That routine acts viceversa. Either or argument u can give try that way it will wok.
Reply all
Reply to author
Forward
0 new messages