vmsdate problem
Witkopp, Richard
Richard.Witkopp@idt.com
Fri, 18 Oct 2002 09:35:55 -0700
Be careful with calculating time differences. Powerhouse
may not "sample" the vmsdate as often as you might like.
Or possibly VMS is partly to blame, optimizing code or
something.
> -----Original Message-----
> From: Chris Sharman [mailto:chris.sharman@ccagroup.co.uk]
> Sent: Friday, October 18, 2002 3:22 AM
> To: C. Harkes; powerh-l@cube.swau.edu
> Subject: RE: vmsdate problem
>
>
>
> > I would like to fill a vmsdate temporary in qdesign by
> using a date field
> > temp and a time field temp.
> > Is it possible ? If I can do this I can easier calculate
> timedifferences
> > using the decimaltime function
>
> Yes, but not easy.
>
> def mins int*2 = mod(t_time,100)
> def hrs int*2 = mod(t_time,10000)*0.01 ; floor is implicit
>
> temp dt vmsdate initial date(((mins/60)+hrs)/24,t_date)
>
> It may get better with 8.30whatever+ - there are a lot of
> changes in that
> area.
>
> Chris
>
>
>
> --------------------------------------------------------------
> ---------
>
> Any views expressed in this message are those of the sender and not
> necessarily those of CCA Group. The unauthorized use, disclosure,
> copying or alteration of this message is forbidden. The contents of
> this message may be confidential and/or privileged, copyright
> CCA Group
> and are intended solely for the use of the individual or
> entity to whom
> they are addressed. Whilst this message has been scanned, CCA Group
> cannot guarantee that it is virus free or compatible with your systems
> and accepts no responsibility for any loss or damage arising from its
> use. The recipient is advised to run their own anti-virus software. If
> you receive this message in error please contact
> postmaster@ccagroup.co.uk immediately, destroy any copies and
> delete it
> from your computer systems.
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l@lists.swau.edu
> Subscribe: "subscribe" in message body to
> powerh-l-request@lists.swau.edu
> Unsubscribe: "unsubscribe" in message body to
> powerh-l-request@lists.swau.edu
> http://lists.swau.edu/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a
> subscriber.
>