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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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