× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>>Is it possible that your job started on 26th August? YEP!

>> If you need the current date in a long running program, it is better
to use the TIME opcode, or its free format equivalent. I will, Thanks
for the help!!
-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com] On Behalf Of Dr. Syd Nicholson
Sent: Wednesday, August 28, 2002 4:55 AM
To: midrange-l@midrange.com
Subject: Re: Date problems

The 'U' date fields (eg. UDATE, UDAY, etc) use the job date. If the job
started on 26th day then UDAY will have 26 in it. If a job runs past
midnight the values in the 'U' date fields do not change even though the
system date has changed. Is it possible that your job started on 26th
August?

If you need the current date in a long running program, it is better to
use
the TIME opcode, or its free format equivalent.

Syd Nicholson


----- Original Message -----
From: "Justin Houchin" <justin@RELIATEK.COM>
To: "Midrange-l" <midrange-l@midrange.com>
Sent: Wednesday, August 28, 2002 10:41 AM
Subject: Date problems


> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Hi Everyone,
>             I am making some modifications to an old program and came
> across something interesting. There is a field that gets the day of
the
> month inserted into it. Here is the following code...
> 0327.00 C                   Eval      OCDAY = UDAY
>
>
> When I ran this program this morning, The OCDAY field had a 26 in it.
I
> checked my system date; it says 8/28/2002. Could someone tell me why
> this date is not correct?
>
> Justin Houchin
> Programmer and Web Developer
> ReliaTek, Inc
> justin@reliatek.com
>
> --
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.