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

Handling of time

Generating timepoints

filltime
generates vector of time points starting from t with length n and granulation gran (default month). The difference between two timepoints is given by step.
getlocalnow
getlocalnow returns the current date and time with correction for the time zone, daylight savings and so on. The corrections are machine dependend.
getnow
getnow returns the current date and time in Greenwich time.
settime
settime generates from a set of vectors a vector of time points. The parameter yr (year) is necessary, the parameters mo (month), dy (day of month), hr (hour), mn (minute), sc (second) are optional. The granulation of the measurement can be changed with the command settimegran. Each value in t
settimegran
settimegran changes the granulation. Possible values for newgran are 1...7 (Seconds, minutes, hour, days, weeks, month, years)
settimezero
settimezero changes the fixed time point.

Time as numerical output

ndayofmonth
returns the day of the month as a number (1-31)
ndayofweek
returns the day of the week as a number (1-7, sunday-saturday)
nhour
returns the hour as a number (0-23)
nminute
returns the minute as a number (0-59)
nmonth
returns the month as a number
nsecond
returns the second as a number (0-59)
nyear
returns the year as a four digit number (YYYY)

Time as string output

dayofmonth
returns the day of the month as string.
dayofweek
returns the day of the week as string.
hour
returns the hour as a string
minute
returns the minute as a string
month
returns the month as a string
second
returns the second as a string
year
returns the year as a string

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

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