BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ccaudillo100
Obsidian | Level 7

Hello, 

 

A portion of my current table looks like this:

U
:00:00
:00:08
:00:00
:00:13
:00:00
:00:11
:00:04

and in SAS U is considered Character. I am needing to switch it to numeric with the exact same information. So doing

Time = (U*1)

 

is not working. Any advice on how to get to the result is appreciated. 

 

Thank you!

1 ACCEPTED SOLUTION
4 REPLIES 4
Reeza
Super User

Is that value truncated? It looks like it's missing leading 00 with the colon at the front?

ccaudillo100
Obsidian | Level 7

This is exactly how I get the export from the source, So I am unsure what happens with it before it gets to me. But I know that it stands for minutes and seconds

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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