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




See the following

http://en.wikipedia.org/wiki/Calendar_date#Day_and_year_only



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill



Rory Hewitt
<roryhewitt@gmail
.com> To
Sent by: "RPG programming on the IBM i /
rpg400-l-bounces@ System i" <rpg400-l@xxxxxxxxxxxx>
midrange.com cc

Subject
12/15/2009 02:46 Re: Date formats
PM


Please respond to
RPG programming
on the IBM i /
System i
<rpg400-l@midrang
e.com>






Does any culture use the Julian format natively (outside of the 'geek
culture', that is)?

On Tue, Dec 15, 2009 at 11:29 AM, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:

In Paraguay, as in most of the civilized world, we use ddmmyyyy
separarted either by /, -, or .
Is is not practical for sorting, but using "date" fields the order comes
out Ok.

But, as any other rule, there are exceptions, and now I have a task for
which I need to sort using mmddyyyy, to list aniversarys. For each
month: the list of days, and for each day the list ordered by year.

Bryce Martin wrote:

Date sorting is most 'natural' when done yyyymmdd. That is why people
always want to switch the order of the parts. This is actually quite
mute
in anything that is done with native date values, but most databases on
the i are not set up this way. From what I've seem most date records
are
stored as numeric, and I'm guessing 8,0 numeric at that. If everything
was stored as Date then there would be little use for all this switching
around since I'm not aware of too many people who display dates as
2009/12/16, or 2009, Dec 16.


I wonder... if native date support had been in place since the
beginning,
would we have ever seen the 10000.01 trick? I'm only coming up on my
3rd
anniversary on the platform, so this might be a naive point of view.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777

--
This is the RPG programming on the IBM i / System i (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.


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.