×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Beware, in other countries the date you specify as being "normally"
would be one month earlier. Beware that when you look at a date that the
dateformat becomes very significant. As long as you stay within the same
date-formatting-area (locale in Java-speak) you're ok. If you have
international aspirations with the application try to move all your
communication partners to move to a shared format, preferably an
ISO-standard so there are no interpretation errors because of the
difference in locales.

Just my i18n cents,

Cor

I won't climb my soapbox declaring that the information you received is
no date today ;)

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Kelley
Sent: dinsdag 7 augustus 2007 23:59
To: RPG400-L@xxxxxxxxxxxx
Subject: Dates

I have a vendor that wants to send me a file to be uploaded to our
iSeries.
The problem is with the dates that get sent. Normally, today's date
would be
08/07/2007 which the %date biff would handle just fine. Unfortunately,
the dates I'm receiving drop the leading 0 in both the month and day,
resulting in 8/7/2007 which the %date doesn't like. Any ideas how to
handle this other then parsing it out?

Kelley


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


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