Question60:ThefollowingSASprogramissubmitted:

libnametemp`SASdatalibrary';

datawork.new;

settemp.jobs;

formatnewdatemmddw10.;

mdate=month(newdate);

ddate=weekday(newdate);

run;

procprintdata=work.new;run;

ThevariableNEWDATEcontainstheSASdatevalueforApril15.2005.WhatoutputisproducedifApril

15,2005fallsonaFriday?

1.Obsnewdatemdateddate

104/15/2005APR6

2.Get all Questions and Answer from here

3.You need to have paid subscription to access all questions

4.Thanks for considering Python Certification Material

CorrectAnswer:2

FindingtheDayoftheWeek

SAShasvariousfunctionsthatproducecalendardatesfromSASdatevalues.SASdatefunctionsenableyoutodosuchthingsasderivepartialdateinformationorusethecurrentdate

incalculations.Ifthefinalpaymentforatourisdue30daysbeforethetourleaves,thenthefinalpaymentdatecanbecalculatedusingsubtraction;however,TradewindsTravelis

You can access to full explanation to question and answer from this page.