03-03-2016 03:38 PM - last edited on 03-03-2016 03:57 PM by ChrisHemedinger
I am working with an assignment.
Here is the code-
81 infile datalines;
82 length time 8;
83 informat time time5.;
84 format time time5.;
85 input @1time @8With $5.;
I want the time as in this format-
I tried many different set of codes but I could not find a code which would provide the desired output.
Please help me if you could.
03-03-2016 03:50 PM
Do you have an external file that you're reading this data from? Can you post a portion of that?
And are you looking to represent clock times (9:00 AM or 13:00 24-hr time)? Or something like a time span (6:45 for 6 hrs, 45min)?
What's the "WITH" variable?