Help using Base SAS procedures

A quick question about Date format

Accepted Solution Solved
Reply
Contributor
Posts: 36
Accepted Solution

A quick question about Date format


My date format is YYMMDDN8., I would like t select the date range between 20080912 and 20080917. I tried various ways, but none worked.

Thank you for your help!


Accepted Solutions
Solution
‎02-11-2013 11:02 AM
Super User
Posts: 17,829

Re: A quick question about Date format

where date between '12Sep2008'd and '17Sep2008'd;

You need a date literal.

View solution in original post


All Replies
Solution
‎02-11-2013 11:02 AM
Super User
Posts: 17,829

Re: A quick question about Date format

where date between '12Sep2008'd and '17Sep2008'd;

You need a date literal.

Contributor
Posts: 36

Re: A quick question about Date format

Reeza,

Thank you for your help. /Anna

☑ This topic is SOLVED.

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

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