Group: | Time and Date functions |
Topic: | Time as string output |
See also: | year month dayofweek hour minute second |
Function: | dayofmonth | |
Description: | returns the day of the month as string. |
Usage: | ts = dayofmonth(t) | |
Input: | ||
t | n x 1 time vector | |
Output: | ||
ts | n x 1 string array |
yr = 1970 + (1:10) t = settime(yr) ts = dayofmonth(t) ts
Contents of ts [ 1,] "01" [ 2,] "01" [ 3,] "01" [ 4,] "01" [ 5,] "01" [ 6,] "01" [ 7,] "01" [ 8,] "01" [ 9,] "01" [10,] "01"
Group: | Time and Date functions |
Topic: | Time as string output |
See also: | year month dayofweek hour minute second |