It seems X12 and EDIFACT are fairly equivalent regarding dates.
An example of the newer X12 standards for dates would be Data Element 1250
and how it defines the next element; 1251 (The actual date being reported).

Some of the valid values for DE1250 are:

CC - First two digits of the year expressed in the format CCYY (length of 2)

CM - Date in Format CCYYMM (length of 6)
CY - Year Expressed in Format CCYY (length of 4)
D6 - Complete Date expressed in the format YYMMDD (length of 6)
D8 - Complete Date expressed in the format CCYYMMDD (length of 8)
DB - Date Expressed in Format MMDDCYY
DD - Day of Month in Numeric Format (length of 2)
DT - Date and Time Expressed in Format CCYYMMDDHHMM (length of 12)
MD - Month of Year and Day of Month in Format MMDD (length of 4)
MM - Month of Year in Numeric Format (length of 2)
TM - Time Expressed in Format HHMM (length of 4)
TS - Time Expressed in Format HHMMSS (length of 6)
YM - Year and Month Expressed in Format YYMM (length of 4)
YY - Last two digits of Year Expressed in Format CCYY (length of 2)
RD2 - Range of Years Expressed in Format YY-YY (length of 5)
RD4 - Range of Years Expressed in Format CCYY-CCYY (length of 9)
RD5 - Range of Years and Months Expressed in Format CCYYMM-CCYYMM (length of
13)
RD6 - Range of Dates Expressed in Format YYMMDD-YYMMDD (length of 13)
RD8 - Range of Dates Expressed in Format CCYYMMDD-CCYYMMDD (length of 17)
RDM - Range of Dates Expressed in Format YYMMDD-MMDD (length of 11)
RDT - Range of Date and Time, Expressed in Format CCYYMMDDHHMM-CCYYMMDDHHMM
(length of 25)
RMD - Range of Months and Days Expressed in format MMDD-MMDD (length of 9)
RTM - Range of Time Expressed in Format HHMM-HHMM (length of 9)

DE1251 is a 35 byte alpha-numeric field.

So, for Jaime, "proper" is whatever the partners agree to, systems can
handle or legislation mandates.
-----Original Message-----
From: Brunnock, Andy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: Re: EDI dates


Unless you have a snarling 800lb gorilla (love the imagery), yes, that's the
X12 standard. EDIFACT allows you to use several different formats depending
on the qualifier associated with the date.

Andy

Andy Brunnock
Senior eBusiness Consultant
COMPAQ Global Services
5310 Harvest Hill Road
Suite 200
Dallas, TX 75230 USA

Phone: +1 972-702-4237
Fax: +1 972-702-4493
Pager: +1 800-759-8888 pin 1138240 or [EMAIL PROTECTED] (alphanumeric)
E-mail: [EMAIL PROTECTED]



 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, May 23, 2001 12:03 PM
To:     [EMAIL PROTECTED]
Subject:        EDI dates

A quick one.

What is the proper format for dates for 6 and 8 digit dates ?

Is it YYMMDD and CCYYMMDD?

Thanks,

Jaime E. Zepeda
eBusiness Development Coordinator
Power & Telephone Supply Company
2673 Yale Avenue
Memphis, TN 38112-3335

(901) 320-3092 Voice
(901) 320-3084 Fax

http://www.ptsupply.com
ISO 9002 Registered
-------------------------------------------------------------------



The information contained in this message is confidential and is solely for
the use of the intended recipient.  If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution, or use
of the contents of this transmission is strictly prohibited.  If you have
received this message in error, please delete and notify the sender
immediately.

=======================================================================
To contact the list owner:  mailto:[EMAIL PROTECTED]
Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/

=======================================================================
To contact the list owner:  mailto:[EMAIL PROTECTED]
Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/

=======================================================================
To contact the list owner:  mailto:[EMAIL PROTECTED]
Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/

Reply via email to