Functional Description
Purpose
Take a string in the following forms, MDD, MMDD, or M/DD, and convert it to the Month/ Day form,
MM/DD. It will also convert from the above forms to MMDD for storing in a numeric field.
Setup Notes and Prerequisites
Pass the Named ER a string in any of the above forms, and the numeric date, MMDD, and the sting date,
MM/DD, will be passed back.
Special Logic
Technical Specification
A numeric date in the form MMDD is converted to the string form MM/DD. A date in the string form
MM/DD is converted to numeric MMDD. Both forms are returned.
Return the length of the string
If the string length is 3 then the first char. is the month, the second and third are the day. Place
'/' between them.
the day
End If
If the string length is equal to "4.00"
fourth are the day.
End If
If the string length is equal to 5
D08395 - Convert String to Date MM/DD
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAlphaSpecData05 | AA05 | char | NONE | NONE |
This item is used scrub Specification Data fields that are 5 character alpha fields. | ||||
mnMathNumeric01 | MATH01 | MATH_NUMERIC | NONE | NONE |
- - - Good Performance Low Value. |
None |
None |