BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10
 
6 REPLIES 6
andreas_lds
Jade | Level 19
At least at on my mobile phone your text is hardly readable. Please post the data we should work with in usable form: a data step with datalines.
ChrisNZ
Tourmaline | Level 20

> I want standard time format arrival and departure

What's not standard in the times you show?

 

>  also difference between two columns  timings

You have the duration already.

 

Or are these all text strings and you want to change them to SAS times?

Show us a proc contents.

 

BrahmanandaRao
Lapis Lazuli | Level 10

please look into attachment 

i want output what  i mentioned

Kurt_Bremser
Super User

This is the SAS Communities. For help with Excel, consult Microsoft Support.

Please post your SAS dataset in usable form (a data step with datalines).

 

If I download an Excel file from the internet, my Chief Security Officer will nail my hide to the company door.

Kurt_Bremser
Super User

PS to calculate time differences, just subtract start from end time. SAS times are counts of seconds, so the result will be a SAS time value again. Assign the time5. format for proper display.

ChrisNZ
Tourmaline | Level 20

> please look into attachment 

No I will not.

1. MS office files are potentially dangerous.

2. The least you can do is make the effort to provide usable data and information.

 

> i want output what i mentioned

Good luck.

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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