Data work.my_data_file; Result_1 = Time(); Result_2 = PUT(Result_1, nltimap15.); Run; |
What's happening in the script above?
Variable | Input | Output | Description |
---|---|---|---|
Result_1 | 58513.064103 | The SAS System Time based on the system Timezone | |
Result_2 | 58513.064103 | 04:15:13 PM | The formatted System time using the PUT function and the nltimap15. format |
See also; PUT Function
Kevin Regan
Have an article, idea, found a typo, want to contribute? Shoot me an email
Here
Below are links to some Udemy Data Science Courses. I've been using Udemy for a number of years now, and I've found their courses super helpful, maybe you will also.