Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Time and Date > now

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 current time as date vector
  • datenum — Convert to serial date number
  • datevec — Date components
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:39 CEST 2016