BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am trying to convert a number to a time format. The numbers are currently in a 4. format. I have tried using the time8. format which has given an incorrect output. Can anyone help?
1 REPLY 1
deleted_user
Not applicable
try informat hhmmss4.

this may look like what you want if you use format mmss. because it assumes the 4 digits are mmss rather than hhmm.

Merry Christmas
Peter

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

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
  • 1 reply
  • 995 views
  • 0 likes
  • 1 in conversation