FUNCTION REFERENCE

now

Return the current local time as a serial date number.

Return the current local time as a serial date number.

Syntax

n = now

Uses the same serial day numbering as datenum; the fraction represents time within the day.

Example

class(now)   % double

Differences from MATLAB: none known for this form.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.