DATA Step, Macro, Functions and more

minute interval in sas or proc sql

Reply
N/A
Posts: 0

minute interval in sas or proc sql

does any one know proc sql or data step have a function where I can convert datetime value into : 15 mins interval for example :
03NOV2010:00:00:02 --> 0-15
03NOV2010:00:16:02 --> 15-30
Super Contributor
Super Contributor
Posts: 3,174

Re: minute interval in sas or proc sql

You should look at DTMINUTE function call along with TIMEPART and MINUTE, as well.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic / post:

dtminute call function site:sas.com Message was edited by: sbb
Ask a Question
Discussion stats
  • 1 reply
  • 126 views
  • 0 likes
  • 2 in conversation