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



Booth

You need a zero after the *CMDY because there are no separators.

Also, it is *CYMD.

Vern

On 8/4/2010 4:45 PM, Booth Martin wrote:
Something like this?

dateField = %date(%subst(Alpha13: 1: 7): *CMDY)



On 8/4/2010 5:26 PM, sjl wrote:
Oops...I'm an idiot!

that would be August 2, 2010, 14:48:06

-sjl


"sjl"<sjl_abc@xxxxxxxxxxx> wrote in message
news:mailman.631.1280957070.2619.rpg400-l@xxxxxxxxxxxxxxx
All -

I'm using the QUSRMBRD API to retrieve member description information.

The member creation date is a 13-byte alpha value returned in the form
CYYMMDDHHMMSS.

Example: '1100802144806' (August 8, 2010, 14:48:06)

What is the correct way to convert this value into a date field for
performing a date comparison in an RPG program?

Regards,
sjl






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.