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



Query supports date fields now.  You can move a field into a result field 
defined as a date.

The other way is:

                                   (use fixed font):
Query Result Field calculations:

   TEMP1         YOURDATE/100                                   4   0
   YYMMDD       (YOURDATE*10000.01)-(TEMP1*1000000)             6   0



PLEASE NOTE!!! this turns mmddyy to yymmdd!  It'll work the other way too round.


But you know how to do that, now that you've seen this, right?  If not, let me 
know.  (it's been a long day and I don't feel like opening a session to do what 
I am sure you know how to do.)






In <004701be5421$c9939960$5efa45cf@carlgalgano>, on 02/09/99 
   at 06:43 AM, "Carl Galgano" <cgalgano@ediconsulting.com> said:


>anyone have a quick and dirty way to convert a date (6,0) in a YYMMDD
>format to a MMDDYY format for printing in a Query?  I know I can multiply
>by 100.0001, however Query thinks it knows better and won't let you chop
>off the left most 2 significant digits, which makes this technique not
>work.  (I get the dreaded +++++++++ as the output for this field).
>Surely someone has solved this little problem.
>TIA,
>Carl
>Carl Galgano
>EDI Consulting Services, Inc.
>540 Powder Springs Street
>Suite C19
>Marietta, GA  30064
>770-422-2995
>mailto: cgalgano@ediconsulting.com
>http://www.ediconsulting.com
>EDI, Communications and AS400 Technical Consulting



>BEGIN:VCARD
>VERSION:2.1
>N:Galgano;Carl;J.
>FN:Carl J. Galgano
>ORG:EDI Consulting Services, Inc.
>TEL;WORK;VOICE:770-422-2995
>TEL;PAGER;VOICE:770-839-8168
>TEL;WORK;FAX:770-425-8391
>ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;540 Powder Springs Street=0D=0ASuite
>C19;Marietta;GA;30064 LABEL;WORK;ENCODING=QUOTED-PRINTABLE:540 Powder
>Springs Street=0D=0ASuite C19=0D=0AMarietta, GA 30064 URL:
>URL:http://www.ediconsulting.com
>EMAIL;PREF;INTERNET:cgalgano@ediconsulting.com
>REV:19990209T114331Z
>END:VCARD


-- 
-----------------------------------------------------------
boothm@ibm.net
Booth Martin
-----------------------------------------------------------

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