@GN0001 wrote:
Hello team,
I have two fields with date data types: their format is yyyy-mm-dd. I used intck function as monthdidd(month, startdate, finaldate). Some of the rows doesn’t show correct result . For example, it should show 10 months, it shows 1440. What is causing this?
appreciate your response.
blue in the sky
Provide the actual values that are doing this, both formatted and unformatted.
If this is happening with only a few values, I would guess that somewhere along the line that what was thought to be yymmdd type data was entered incorrectly. If it happens with almost ever pair of values then one starts to suspect that the source values may be in different formats but read with the same informat.
Also, show the entire data step where you are using the function and best would be to copy that from the log with all notes and then paste the entire log text into a text box opened on the forum with the </>.
... View more