SAS Tutorial | SAS Date Functions FAQs

  Рет қаралды 23,789

SAS Users

SAS Users

Күн бұрын

Пікірлер: 42
@gulammohiddin5747
@gulammohiddin5747 5 жыл бұрын
I always had doubts regarding date and datetime formats. This tutorial explains so elegantly. Thanks.
@SASUsers
@SASUsers 5 жыл бұрын
Thanks for sharing!
@woodyclermont1157
@woodyclermont1157 4 жыл бұрын
Using that input function to convert from character to an actual SAS date to be used to find out the number of days or years passed, is very helpful! data _NULL_; tday = today(); begin = input('18DEC2018',anydtdte12.); Method1 = tday-begin; Method2 = intck('days', begin, tday); put 'As of' tday WORDDATE18. ', number of days difference is ' Method1 Method2; run;
@muwongejosephjunior6131
@muwongejosephjunior6131 3 жыл бұрын
Perfect! Thank you very much for the time invested!
@SASUsers
@SASUsers 3 жыл бұрын
So glad you found it helpful! 🙂
@swatts0813
@swatts0813 4 жыл бұрын
Thanks for the clear tutorial - this saved me so much time!
@SASUsers
@SASUsers 4 жыл бұрын
Awesome! Thanks for sharing the feedback!
@ashwinbhaskar8945
@ashwinbhaskar8945 5 жыл бұрын
Thank you for the fantastic explanation. Please do more videos.. Keep it up
@sunnylk6991
@sunnylk6991 4 жыл бұрын
Thank you so much. You saved me time trying to figure out this.
@SASUsers
@SASUsers 4 жыл бұрын
Rose, Awesome! So glad you found it helpful!
@melindaschultz3717
@melindaschultz3717 2 жыл бұрын
This is SO HELPFUL!
@SASUsers
@SASUsers 2 жыл бұрын
So glad you found it useful! 🙂
@emfl4437
@emfl4437 4 жыл бұрын
Excellent video, thanks for the straightforward explanations and tutorial
@SASUsers
@SASUsers 4 жыл бұрын
We're glad you liked it!
@EderbalFilho
@EderbalFilho 4 жыл бұрын
Very Good!
@vijaymore8433
@vijaymore8433 3 жыл бұрын
You are amazing teacher
@SASUsers
@SASUsers 3 жыл бұрын
Vijay, thank you so much for the positive feedback!
@srividhya1107
@srividhya1107 2 жыл бұрын
Thanks for the great video ! Just have one question at the very last, where the time part wasnot shown correctly. Everything is created as 12 AM(00:00:00). Seems the time part wasn't read correctly. Please check the reason and post solution for it.
@SASUsers
@SASUsers 2 жыл бұрын
Thanks for the question, Sri. We are looking into this for you.
@SASUsers
@SASUsers 2 жыл бұрын
Great question, Sri. You are correct. There is a technical support note that discusses what you are seeing. You can read more in the Problem Note 46142: 2.sas.com/6054Kc4cI Sorry for the inconvenience. Take a look at the Usage Note 37309 for more information: 2.sas.com/6055Kc4cL Please let us know if you have any additional questions.
@ToOpen6seven
@ToOpen6seven 3 жыл бұрын
Excellent training! Do you have any training on programming of tables, listings and figures?
@SASUsers
@SASUsers 3 жыл бұрын
Thank you for your feedback! We will research this for you!
@SASUsers
@SASUsers 3 жыл бұрын
Hi: Typically, the phrase, "tables, listings and figures" relates to the Clinical Trials process because tables, listings and figures are required as part of a clinical study. We do not generally have videos on industry-specific reports like this. Each pharmaceutical company will have their own methods for complying with the regulatory requirements around producing tables, listings and figures. Many pharmaceutical companies will use a combination of PROC REPORT, PROC TABULATE and DATA step programming, along with SAS Macro Language programming in order to produce the tables, listings and figures needed for a study. Our web site for the Clinical Trials Programmer certification, here 2.sas.com/6056J5mi2 lists classes and books that are recommended to people who are preparing for this exam. The classes and books there might give you a place to start specifically in regard to Clinical Trials. For more general reporting needs, here are some books by Lisa Fine: 2.sas.com/6058J5mi4 , and by Jane Eslinger: 2.sas.com/6050J5miA to help you get started with PROC REPORT.
@RajatMadaanmaddy
@RajatMadaanmaddy 3 жыл бұрын
Dear Proff ,, Can you please create a playlist topic vise or like lecture 1 2 and so on ,, so it will be easy for sas users like me to understand things better. I checked your channe and in the videos section , ,, there are over 100+ videos from different teachers and i am not getting from where i can begin.
@SASUsers
@SASUsers 3 жыл бұрын
Hello, Rajat, and thank you for your feedback! We already have several helpful playlists on our SAS Users KZbin channel. You can find them by clicking on the Playlists tab (the third tab) from our main channel site, or you can click this link: 2.sas.com/6053H9iC5 We have other excellent resources to help you learn SAS on our own website too, including free e-Learning courses, free learning versions of SAS software, and other helpful things like our free online documentation and online SAS Support Communities! You can learn about all of those from our #SAS Starter Kit, your one-stop-shop for resources, connecting with other SAS users, and product information! 2.sas.com/6054H9iCg If you are a university or college student please let us know, and we will share our information for #Academic #SASLearners too!
@RajatMadaanmaddy
@RajatMadaanmaddy 3 жыл бұрын
@@SASUsers I saw playlist section but I didn't want any topic related videos. Yes I am a college student and I have just started learning it for future jobs
@SASUsers
@SASUsers 3 жыл бұрын
Thanks, Rajat! Our KZbin videos are intended to be for specific topics, while our #SASTraining courses are designed to teach skills like #SAS Programming and how to use SAS software. As a student, you get access to over 20 of those e-Learning courses and #SASCertification prep material #Free in our SAS Academic Hub! *Note: you'll need to use your college email address to get access. 2.sas.com/6054Hi8WE We have lots of other great resources for students too, like free learning versions of SAS! 2.sas.com/6055Hi8W1 We hope those help, and we wish you much success with SAS!
@wenpengdi5807
@wenpengdi5807 4 жыл бұрын
hi, this video is really clear and helpful, just a quick question, what if I want to keep some decimals of the age but not the integer part
@SASUsers
@SASUsers 4 жыл бұрын
We're looking into this for you. Stay tuned, we'll have a reply for you shortly!
@SASUsers
@SASUsers 4 жыл бұрын
The program below represents one approach to obtaining the decimal portion of a calculated age value. “ Let us know if this helps! data testcalc; /* in an assigment statement, use a date constant to */ /* populate a new numeric variable with a birth date */ Bday='01JAN1999'd; /* calculate age using the yrdif() and today() functions */ AgeDecimalYRDIF = yrdif(Bday, today(), 'AGE'); /* truncate off the decimal with the int() function */ AgeIntegerYRDIF = int(yrdif(Bday, today(), 'AGE')); /* to capture the decimal portion from the age calculation you only */ /* need to subtract the integer portion (AgeIntegerYRDIF) from the */ /* calculated age value (AgeDecimalYRDIF) as is done with the */ /* assignment statement below producing the AgeDecimalOnly variable */ AgeDecimalOnly = AgeDecimalYRDIF - AgeIntegerYRDIF; /* to reduce the number of decimal places (i.e. less precision) you can */ /* use the round() function - its use below rounds to 3 decimal places */ AgeDecOnlyReduce = round(AgeDecimalOnly, .001); run;
@wenpengdi5807
@wenpengdi5807 4 жыл бұрын
SAS Users never thought u could really reply to me, that's very helpful. Appreciate!
@SASUsers
@SASUsers 4 жыл бұрын
Absolutely! The SAS Communities 2.sas.com/60561Yd6g is a great resource for programming/content-related questions. Experts always ready and willing to help! Good luck and let us know if you have any other questions we can assist you with!
@anu6227-k2n
@anu6227-k2n Жыл бұрын
how to read these values 01, 02, 12, 14, 09 as month in mdy function?
@SASUsers
@SASUsers Жыл бұрын
Thanks for the question, Anuradha. We are looking into this for you.
@SASUsers
@SASUsers Жыл бұрын
Please email curriculumconsulting@sas.com for additional assistance with this question.
@ahmedalnajar1155
@ahmedalnajar1155 4 жыл бұрын
so helpful, especially since the timestamps are available
@SASUsers
@SASUsers 4 жыл бұрын
Ahmed, thank you for your feedback! So glad you found the video helpful!
@chittalavenkatesh5975
@chittalavenkatesh5975 5 жыл бұрын
Any Proc SQL Videos??
@SASUsers
@SASUsers 5 жыл бұрын
Yes, you can go to the SAS Users KZbin page and do search on various topics. See SAS Tutorial Merging Data Sets in SAS using SQL 2.sas.com/6051ECMT5
@auroraliu2541
@auroraliu2541 5 жыл бұрын
The last lesson of the Free SAS Programming 1 self-pace e-learning has content on proc sql. There are short videos and demos www.sas.com/en_us/training/courses/learning-formats/e-learning.html
@rimalmahesh
@rimalmahesh 3 жыл бұрын
not comprehensible. very rudimentary
@SASUsers
@SASUsers 3 жыл бұрын
We're sorry to hear that, Mahesh. What specific questions or concerns do you have regarding the content? We're happy to share feedback with our content development team
SAS Tutorial | How to export SAS data to Excel
15:44
SAS Users
Рет қаралды 43 М.
SAS Tutorial | Getting the Most out of SAS Macro and SQL
45:30
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 23 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 111 МЛН
SAS Tutorial | How to Concatenate Values in SAS
16:50
SAS Users
Рет қаралды 11 М.
SAS Tutorial | The Fundamentals of DATA Step Programming
1:36:47
SAS Tutorial | 5 Ways to Make Your SAS Code Run Faster
17:58
SAS Users
Рет қаралды 10 М.
SAS Tutorial | 3 Steps to Build a SAS Macro Program
14:24
SAS Users
Рет қаралды 23 М.
SAS Demo | Build a Date in SAS Visual Analytics Reports
21:21
SAS Users
Рет қаралды 2,9 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН