Products & Services Solutions Academia Support User Community Company

Learn more about Financial Toolbox   

second - Seconds of date or time

Syntax

Seconds = second(Date)

Description

Seconds = second(Date) returns the seconds given a serial date number or a date string.

Examples

Seconds = second(738647.558427893)

or

Seconds = second('06-May-2022, 13:24:08.17')

returns

Seconds =

          8.1700

See Also

datevec, hour, minute

  


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