Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.1.0 - Русский


now

Return current date under the form of a Unix hour (timestamp)

Syntax

t = now()

Description

t = now() returns date and time as a serial date number. (See datenum)

Examples

realtimeinit(1);
realtime(0);
t1 = now()
datevec(t1)
realtime(10);
t1 = now()
datevec(t1)

See also

  • clock — Return the current Gregorian datetime and international time zone of the computer's clock
  • datenum — Convert to serial date number
  • datevec — Date components
Report an issue
<< NaT Time and Date realtimeinit >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jun 17 17:55:07 CEST 2024