BookmarkSubscribeRSS Feed
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)


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.
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.

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



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1 like
  • 3 in conversation