Re: Missing delta time functionality
From: Bob Koehler (koehler_at_eisner.nospam.encompasserve.org)
Date: 10/03/03
- Next message: sol gongola: "smtp problem: Status: 4.4.7 Unable to contact host"
- Previous message: John Johnstone: "Re: SMTP receiver logs"
- In reply to: Guy Peleg: "Missing delta time functionality"
- Next in thread: H Vlems: "DCL improvements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 3 Oct 2003 12:48:08 -0500
In article <3F7D996D.31EB0B51@hp.com>, Guy Peleg <guy.peleg@hp.com> writes:
>
> Considering F$DELTA and F$CVTIME what other functionality do you think
> is missing for delta time calcualtion?
> We are currently planning the new features for next VMS version so here
> is your chance to affect the future.
>
These aren't all delta times, but since your working in that area:
$ a = "WEDNESDAY 10:00"
$ b = "THURSDAY 13:00"
$ c = f$delta(a,b)
$ show symbol c
1 03:00:00.000
$ write f$cvtime("3-oct-2003",,"DOY") !(day of year)
276
$ write f$cvtime("3-oct-2003",,"LEAP_YEAR")
False
$ write f$cvtime("3-oct-2003 18:33:30",,"JULIAN_DAY")
2452916.27326
(reference http://aa.usno.navy.mil/data/docs/JulianDate.html, must
be corrected for time zone)
The following is cute, but does not have to be officially supported;
also note the algorithm I have may be wrong.
$ write f$cvtime("3-oct-2003 13:37:09",,"STAR_DATE")
37895.7658
- Next message: sol gongola: "smtp problem: Status: 4.4.7 Unable to contact host"
- Previous message: John Johnstone: "Re: SMTP receiver logs"
- In reply to: Guy Peleg: "Missing delta time functionality"
- Next in thread: H Vlems: "DCL improvements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|