DATA Step, Macro, Functions and more

date format

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 100
Accepted Solution

date format

Does anyone know what kind of date format is this? 

 

index(issued_date,'F8'x) ^= 0        or

index(issued_date,'E4'x) ^= 0 

 

Thanks in advance 


Accepted Solutions
Solution
‎07-05-2017 07:49 AM
Frequent Contributor
Posts: 100

Re: date format


All Replies
Super User
Posts: 3,261

Re: date format

The INDEX function only applies to character variables so it is anyone's guess what might type of date might be stored in it. Have you looked?

Frequent Contributor
Posts: 100

Re: date format

No, but you are correct. Smiley Very Happy

Frequent Contributor
Posts: 100

Re: date format

No, but you are correct.

PROC Star
Posts: 1,760

Re: date format

You are scanning a string for two characters.

Depending on the encoding, E4 is probably ä (latin small letter a with diaeresis)

See http://www.ascii-code.net/

 

 

Solution
‎07-05-2017 07:49 AM
Frequent Contributor
Posts: 100

Re: date format

thanks

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 109 views
  • 0 likes
  • 3 in conversation