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-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

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