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



There are three kinds of date data formats, depending on the range of years that can be represented. This leads to the possibility of a date overflow or underflow condition occurring when the result of an operation is a date outside the valid range for the target field. The formats and ranges are as follows:
Number of Digits in Year  Range of Years
2 (*YMD, *DMY, *MDY, *JUL)  1940 to 2039
3 (*CYMD, *CDMY, *CMDY)  1900 to 2899
4 (*ISO, *USA, *EUR, *JIS, *LONGJUL)  0001 to 9999

BSchwar@xxxxxxxx wrote:
Thanks for the help everyone!

I thought about using %Date, but I was concerned about the supported date
range for YMD dates. Do you know what date range %date supports for a YMD
date filed?


date: Wed, 11 Jan 2006 14:17:35 -0600
from: Booth Martin <booth@xxxxxxxxxxxx>
subject: Re: Built-in function %char

Would you be better served with either the

%date, %editc or %editw bif?

c eval wrk08a = %editc(emdoc: 'X') + %editc(emdoe: 'X')
or
c eval wrk08a = %date(emdoe: *ymd)

See if those do what you wish.


Bob Schwartz
Systems Analyst
Information Systems
Southeast Georgia Health System, Brunswick Campus
Voice   912.466.3303
Fax      912.466.3313
email    bschwar@xxxxxxxx




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.