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



I know of one old package that stores the dates as a 5 digit number. The
original programmer called them "century dates". Day number one of the
century was 00001, and the last day of the century is 36525. The package was
sold internationally, so there was no worry about where the machine was
installed.

His algorithm looked at something inside the OS and figured out which
country the machine was located, how the dates were to be presented to the
end user, and to interpret what the user had entered as a date. Internally,
the date was just a number.

The rest of us programmers just needed to know how to feed the dates into
his formula. For query tool users, we had to create an auxiliary file that
provided the dates in local format.

Paul Nelson
Cell 708-670-6978
Office 409-267-4027
nelsonp@xxxxxxxxxxxxx


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Birgitta Hauser
Sent: Wednesday, January 28, 2015 4:32 AM
To: 'Midrange Systems Technical Discussion'
Subject: Physical Files with numeric dates?

We just had a discussion tody concerning numeric date and time fields.
And just because I'm curisous:

How many of you are still using numeric fields (may be a rather big crowd -
at least those working with old applications)
But how many of you are using date fields in your tables where the year or
century year is NOT in the first position, i.e. in a Format MMDDYY or
MMDDYYYY or DDMMYY or DDMMYYYY?


Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"



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