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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

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

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1269 views
  • 0 likes
  • 1 in conversation