[Download-List] date

Jeff Flynt jeff.flynt at asu.edu
Tue Jul 24 13:49:28 EDT 2007


Hi Debbie,

 

Here is yet another way of doing it:

 

OCONV(BIRTH.DATE, "D4 YMD":@VM:"MCC; ;")

 

Or if you want to do it in an i-desc:

 

AE DICT PERSON BD

Top of "BD" in "DICT PERSON", 6 lines, 26 characters.

*--: P

001: D

002: 14

003: D4 YMDýMCC; ;

004:

005: 10L

006: S

Bottom.

*--:

 

Data field 14 is the BIRTH.DATE field in Benefactor. This outputs dates like 19820409 which is what we are using for our conversion. Line 3 is easier to enter if you use the EV command in the AE editor.

 

 

HTH.

Jeff Flynt

Arizona State University Foundation | Information Resources Management 
Applications Systems Analyst, Sr.
P.O. Box 875905 | Tempe, Arizona | 85287-5905
PH: 480.965.6870 | Fax: 480.965-6686 | e-mail: jeff.flynt at asu.edu

  <http://www.asufoundation.org/> 

 

 

 

From: download-list-bounces at cedarville.edu [mailto:download-list-bounces at cedarville.edu] On Behalf Of Minatra, Pat H.
Sent: Thursday, July 19, 2007 5:51 AM
To: Cedarville DOWNLOAD Users
Subject: RE: [Download-List] date

 

Debbie:

You can ALSO do:

 

FMT(CONVERT(" ","",OCONV(BIRTH.DATE,"DYMD4,2,2")),"L#8")

 

Which is what I use as I had a need for CCYYMMDD format to import to another system which is what this is.

 

HTH and have a GREAT day!

 

-------------------------
"Life is but a twinkle in the eye of eternity"
"The shortest distance between a problem and a solution is the distance between your knees and the floor"
"sorrow looks back - worry looks around - faith looks up"
Regards,
Pat H. Minatra - N5GJR
(325) 670-5804 voice
(325) 670-1570 fax
Hardin-Simmons University 
www.hsutx.edu
PO BOX 16040
Abilene, TX  79698
-------------------------
The mission of Hardin-Simmons University is to be a community dedicated to providing excellence in education enlightened by Christian faith and values.
-------------------------
PRIVILEGED AND CONFIDENTIAL NOTICE: The information contained in this e-mail may be confidential and/or privileged. This e-mail is intended to be reviewed initially by only the individual named above. If the reader of this e-mail is not the intended recipient or a representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this e-mail, or the information contained herein, is prohibited. If you have received this e-mail in error, notify the above sender, send the message back and then delete it.
-------------------------
Thank you for your assistance. Hardin-Simmons University; 2200 Hickory/HSU Box 16040; Abilene, TX  79698; 325.670.1000
------------------------- 

 

From: download-list-bounces at cedarville.edu [mailto:download-list-bounces at cedarville.edu] On Behalf Of Spitzner, Eric
Sent: Thursday, July 19, 2007 7:13 AM
To: Cedarville DOWNLOAD Users
Subject: RE: [Download-List] date

 

Debbie,

 

You simply combine two conversions: "CONVERT(OCONV(somedate, 'D4-MDY'),'-','')" will convert "somedate" in internal date format to month-day-year format with four-digit year and hyphen delimiters, then conver the hyphens to nulls.

 

HTH
Eric Spitzner, CDP (eric.spitzner at quinnipiac.edu)
Senior Programmer/Analyst
Quinnipiac University; Hamden, Connecticut
Sun V440; Solaris 2.9; UniData 6.0.9
Colleague 17.0.14 and Benefactor 5.1 

 

________________________________

 

Anyone know how to output a date MMDDYYYY without any separators?

 

Thanks!

 

Debbie Moyers

***********************************

Business Analyst

Lincoln Memorial University

6965 Cumberland Gap Pkwy

Harrogate, TN 37752

(423) 869-6469

debra.moyers at lmunet.edu

***********************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.cedarville.edu/pipermail/download-list/attachments/20070724/bc637cf5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1672 bytes
Desc: image001.gif
URL: <http://mail.cedarville.edu/pipermail/download-list/attachments/20070724/bc637cf5/attachment.gif>


More information about the download-list mailing list