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

 

Time is running out to save with the early bird rate. Register by Friday, March 1 for just $695 - $100 off the standard rate.

 

Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events. 

 

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.

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