Page 1 of 1

Calculating time difference

PostPosted: Tue Feb 21, 2012 1:08 pm
by sugavanesh
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 ?

Re: Calculating time difference

PostPosted: Tue Feb 21, 2012 1:13 pm
by BillyBoyo
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?

Re: Calculating time difference

PostPosted: Tue Feb 21, 2012 3:29 pm
by sugavanesh
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.

Re: Calculating time difference

PostPosted: Tue Feb 21, 2012 5:34 pm
by BillyBoyo
Do CA provide a TIMECONV macro? What are you trying to convert the time from and to?