× 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.


  • Subject: Re: Date Conversion
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Fri, 18 Aug 2000 18:12:30 -0700

Hi Eric,

I assume that when you say "julian date field" you mean a character or
numeric field, and "julian system date field" is a date type field.

How about

    C    *JUL0    MOVE    DATE1      DATE2

The zero after the *JUL tells MOVE that DATE1 does not have a date separator
character in it.

Another potential problem is that if the "julian date field" actually
contains "0980001" it _is_ an invalid julian date. *JUL expects yy/ddd,
*LONGJUL expects ccyy/ddd.

HTH
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax


----- Original Message -----
From: Eric Kempter <NOERICK.NORCAL@CLEANCITY.COM>
To: <midrange-l@midrange.com>
Sent: Friday, August 18, 2000 11:44 AM
Subject: Date Conversion


> I am looking for way to convert a julian date field (0980001) to a julian
system date field (98/001) and back.
>
> I have tried *JUL    MOVE    DATE1      DATE2, no good invalid date
format.
>
> Anyone know of a simple way to do this without having to use DS's and
MOVEs?
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.