now
- now returns current data and time as a date numbers
- floor(now) returns current date as a date numbers
- rem(now,1) returns current time as a date numbers
Examples
> t1 = now [t1:736285] > datestr(t1)# 11/16/2015 > [Year Month Day Hour Minutes Seconds] = datevec(t1) [Year:2015] [Month:11] [Day:16] [Hour:17] [Minutes:2] [Seconds:49.92]
> t2 = floor(now) [t2:736284] > datestr(t2)# 11/16/2015