Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Input format for DOWK subroutine?

Status
Not open for further replies.

sagobogger

Technical User
Jun 18, 2004
69
0
0
US
I can't get the DOWK subroutine to return a result. My input date is a YYMD and the code is:

MYDAY/A4=DOWK(MYDATE,MYDAY);

and it returns a blank for MYDAY. Do I need to convert my YYMD date to another format for this to work?



 
Never fails, just when you give up, you find the answer yourself :)

DOWK likes old style dates so this works:

MYDATE_2/I8YYMD=MYDATE;
MYDAY/A4=DOWK(MYDATE_2,MYDAY);

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top