Calculating time difference



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

Calculating time difference

Postby sugavanesh » Tue Feb 21, 2012 1:08 pm

Is there any inbulit routine for calcualting time difference in easy trieve ?

We have %datecalc and %dateconv, like that we have %timeconv , does any one know how to use this ?
sugavanesh
 
Posts: 9
Joined: Sat Nov 05, 2011 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Calculating time difference

Postby BillyBoyo » Tue Feb 21, 2012 1:13 pm

Can you be more clear with your question please.

You have those macros? You have two of them? Are they Easytrieve-supplied or from your site?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Calculating time difference

Postby sugavanesh » Tue Feb 21, 2012 3:29 pm

they are easy trieve supplied ..

for date conversion from julian (yydd) to ccyymmdd

we give %dateconv ws-date-julian yyddd to ws-date-greg ccyymmdd threshold 49.

Do anyone know the same format for %timeconv

Or does anyone have logic for calculating for time difference.
sugavanesh
 
Posts: 9
Joined: Sat Nov 05, 2011 9:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Calculating time difference

Postby BillyBoyo » Tue Feb 21, 2012 5:34 pm

Do CA provide a TIMECONV macro? What are you trying to convert the time from and to?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post