A LONG time ago on a S/36 now long gone a co-worker of mine solved this problem by creating a file that had one row per day. In that row were every format of date, day of week, month, as well as custom stuff for our company fiscal period etc.

Then you simply link to it in Query and pick the correctly formatted date column to include in your output.

We found the solution, excellent. YMMV.

- DrF


On 11/16/2021 11:48 AM, Art Tostaine, Jr. wrote:
I'm trying to modify an old *QRYDFN to convert an 6,0 field to a time.

I've tried all sorts of combinations in the result field options but can't
get anything to work. If there is a way I can create a view that converts
to time and use that instead that would be fine.

I need to do this because the output file is converted to CSV using
CPYTOIMPF. I need the editing in the CSV so Excel recognizes the column as
a time.

Thanks, Art



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2022 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.