The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: datenum = today ()

Returns the current local date as the number of days since Jan 1, 0000. By this reckoning, Jan 1, 1970 is day number 719529.

The returned number corresponds to 00:00:00 today.

The returned value is also called a "serial date number" (see datenum).

See also: clock, date, datenum, now.

Package: financial