BookmarkSubscribeRSS Feed
benson
SAS Employee
having trouble getting date (ddmmmyy) to start at left haxis, like from 11JAN10 to 05FEB10, any suggestions ?
4 REPLIES 4
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Suggest you share what SAS code you are using for useful feedback.

Scott Barry
SBBWorks, Inc.

Recommended Google advanced search argument, this topic/post:

date values axis site:sas.com
benson
SAS Employee
I have tried the following code with no luck.

axis1 order=('11jan10'd to 01feb10'd by day);

Can anyone explain what I am missing ? Thanks
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Did you have an opportunity to use the Recommended Google search to reveal SAS-hosted DOC and other technical reference material that may help?

Also, given your response "...with no luck." -- can you be more specific about the SAS behavior when you use the code shared? Possibly share the exact SAS log output (pasted in a post/reply to the forum)? However, from the code you did share, I see a missing tick-mark in your second date literal value.

Scott Barry
SBBWorks, Inc.
benson
SAS Employee
I solved this by changing the date field on my access database to 01/11, 01/12, 01/13, etc. and the results returned the correct date order I was looking for. Thanks for your replies.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1495 views
  • 0 likes
  • 2 in conversation