gistlib
You can use the day function of datetime data type to get the day number of today. Here's an example:
day
main.m ```matlab today = datetime('today'); dayNumber = day(today); disp(dayNumber); ``` This code will output the day number of today. 178 chars8 lines
```matlab today = datetime('today'); dayNumber = day(today); disp(dayNumber); ``` This code will output the day number of today.
gistlibby LogSnag