Home > freetb4matlab > time > now.m

now

PURPOSE ^

% Returns the current local time as the number of days since Jan 1, 0000.

SYNOPSIS ^

function t = now

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {t =} now 
% Returns the current local time as the number of days since Jan 1, 0000.
% By this reckoning, Jan 1, 1970 is day number 719529.
%
% The integral part, @code{floor (now)} corresponds to 00:00:00 today.
%
% The fractional part, @code{rem (now, 1)} corresponds to the current
% time on Jan 1, 0000.
%
% The returned value is also called a 'serial date number'
% (see @code{datenum}).
% @seealso{clock, date, datenum}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003