BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
breelloyd
Fluorite | Level 6

Hi Guys,

I'm super new to SAS. I've done two courses and I'm just starting to redesign some reports (in SQL/Excel) in Enterprise guide.

For one- I'm trying to get myself acquainted with what resources are out there.

I've tried googling this, but haven't anything (which is odd).

Either way, I'm having trouble with a date.

The table in the DB is coming up correctly in SAS. I can see the dates and SAS seems to recognize the field is a date (if I open the table. SAS assigns a calendar logo to the field and dates appear as "13JUL2011:00:00:00.000"

When my task is run, the dates come back in that format no worries.

As soon as I try to change to FORMAT=DATE9 I get the following output *********

It would seem that it's not happy to convert.

Where do I start to work through this?

1 ACCEPTED SOLUTION

Accepted Solutions
breelloyd
Fluorite | Level 6

https://communities.sas.com/message/150609#150609

I found a solution.

If someone else reads this with the same issue: It's because the field is a DateTime, not a Date.

View solution in original post

1 REPLY 1
breelloyd
Fluorite | Level 6

https://communities.sas.com/message/150609#150609

I found a solution.

If someone else reads this with the same issue: It's because the field is a DateTime, not a Date.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 633 views
  • 0 likes
  • 1 in conversation