The built-in function clock returns a vector with six elements representing, in order, the year, month, day, hour, minutes, and seconds. Write a function whatday that (using the clock function) will always return the current day. If the function call expects two output arguments, it will also return the month. If the function call expects three output arguments, it will also return the year.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.