BookmarkSubscribeRSS Feed
carmendee
Obsidian | Level 7

In Information Map, I need to join the following in advanced edit:

MM/DD/YYYY (char)

to either

YYYYMMDD (numeric) or DATETIME20 (DDMMYYYY:00:00:00)

Help!

3 REPLIES 3
Haris
Lapis Lazuli | Level 10
Hard to understand what you're looking to do but seems like you need to get all three of your dates in the same format. Input() function can be used to get char. to date. format and a datepart() function will extract the date from the datetime variable.
carmendee
Obsidian | Level 7

Because these are two different data types, I need to find a way to join them in Information Map.  I cannot "first" get the data types the same in that software.

LinusH
Tourmaline | Level 20
Your inquiry suggests that you don't have an organized data model. That would be OK in a Staging area, but definitely not in the data mart layer which fronts the end users.
Data never sleeps

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 1341 views
  • 1 like
  • 3 in conversation