Cody

Problem 44663. Datetime basics

Solution 1546442

Submitted on 2 Jun 2018 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
y_correct = datetime('today'); assert(isequal(generate_datetime(),y_correct))

ans = datetime 02-Jun-2018

Suggested Problems

More from this Author29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!