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



As long as you're passing a date, and not character or numeric, it doesn't
matter.

Date fields are stored in an internal format that has nothing to do with the
date format you're displaying them in.  When you pass a date, you are
passing the bytes stored in the internal format.

This has been my take, and experience, on date fields anyway.

Regards,

Jim Langston

-----Original Message-----
From: Seth.D.Shields@blum.com [mailto:Seth.D.Shields@blum.com]

If I have a date field in a prototype defined as a const with a date format
of *ISO, can I pass
a date in a different format or do I have to convert it myself to the
correct format before using
it in the prototyped call?

ex.

D myProc       pr
D    isoDate             10d  const  datfmt(*iso)

D cymdDate          s    10d  datfmt(*cymd)

C         callp     myProc(cymdDate)


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.