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