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,777

Re: If condition with time vars


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

Re: If condition with time vars

'hh:mm:ss.d'T

Frequent Contributor
Posts: 131

Re: If condition with time vars

Thanks data null!

☑ This topic is SOLVED.

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

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