time

Edit

PLEASE BE CAREFUL, THIS IS A UNDOCUMENTED FUNCTION

developper know some major problems related to them and don't want them to be used in the real worksheets, because they can be excluded from future versions of SMath Studio


time(var) return time from 1601-01-01 to now (the evaluation instant)

var can be anything (f.e. time(0) or time(1))

Edit

Origins

From Wikipedia, the free encyclopedia:

Year 1601 (MDCI, Roman Numerals) was a common year starting on Monday of the Gregorian calendar and a common year starting on Thursday of the 10-day slower Julian calendar. January 1 of this year (1601-01-01) is used as the base of file dates and of Active Directory Logon dates by Microsoft Windows. It is also the date from which ANSI dates are counted and were adopted by the American National Standards Institute for use with COBOL and other computer languages. This epoch is the beginning of the 400-year Gregorian leap-year cycle within which digital files first existed; the last year of any such cycle is the only leap year whose year number is divisible by 100. All versions of the Microsoft Windows operating system from Windows 95 onward count units of one hundred nanoseconds from this epoch.

Edit

Examples

gap

execution time

Edit

History


Edit

See also


Edit

References