DATA Step, Macro, Functions and more

date format

Accepted Solution Solved
Reply
Contributor
Posts: 71
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
Contributor
Posts: 71

Re: date format


All Replies
Super User
Posts: 3,115

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?

Contributor
Posts: 71

Re: date format

No, but you are correct. Smiley Very Happy

Contributor
Posts: 71

Re: date format

No, but you are correct.

PROC Star
Posts: 1,570

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
Contributor
Posts: 71

Re: date format

thanks

☑ This topic is solved.

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

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