Products & Services Industries Academia Support User Community Company

Learn more about Financial Toolbox   

now - Current date and time

Syntax

t = now

Description

t = now returns the current date and time as a serial date number. To return the time only, use rem(now,1). To return the date only, use floor(now).

Examples

t1 = now, t2 = rem(now,1)

t1 =

   7.2908e+05


t2 =

    0.4013

See Also

date, datenum, today

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS