DATA Step, Macro, Functions and more

If condition with time vars

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 131
Accepted Solution

If condition with time vars

Hi there:  How do I subset a sample or use an if condition for time variables (HHMMSS8.)?  What are the syntax rules for this? I've only done this for date variables, ie

 

if var ge "date"d then...

 

Thanks so much!

 

 

 


Accepted Solutions
Solution
‎10-04-2015 07:46 PM
Respected Advisor
Posts: 3,799

Re: If condition with time vars

Posted in reply to Maisha_Huq

All Replies
Solution
‎10-04-2015 07:46 PM
Respected Advisor
Posts: 3,799

Re: If condition with time vars

Posted in reply to Maisha_Huq

'hh:mm:ss.d'T

Frequent Contributor
Posts: 131

Re: If condition with time vars

Posted in reply to data_null__

Thanks data null!

🔒 This topic is solved and locked.

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

Discussion stats
  • 2 replies
  • 205 views
  • 0 likes
  • 2 in conversation