Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Handling of time
Topic: Time as string output
See also: year dayofmonth dayofweek hour minute second

Function: month
Description: returns the month as a string

Usage: ts = month(t)
Input:
t n x 1 time vector
Output:
ts n x 1 string array

Example:
yr = 1970 +(1:10)
t  = settime(yr)
ts = month(t)
ts

Result:
Contents of ts

[ 1,] "Jan"
[ 2,] "Jan"
[ 3,] "Jan"
[ 4,] "Jan"
[ 5,] "Jan"
[ 6,] "Jan"
[ 7,] "Jan"
[ 8,] "Jan"
[ 9,] "Jan"
[10,] "Jan"



(C) MD*TECH Method and Data Technologies, 05.02.2006