Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語 - Русский
Aide de Scilab >> Heure et date > clock

clock

Return current time as date vector

Syntax

c = clock

Description

c = clock returns a 6-element date vector containing the current date and time in decimal form:

c = [year month day hour minute seconds]

the first five elements are integers. The seconds element is accurate to several digits beyond the decimal point.

Examples

clock

See also

  • datenum — Convertie une date en un nombre
  • datevec — Reconstruction d'un vecteur contenant une Date
  • timer — temps CPU consommé
  • etime — Temps écoulé
  • tic — Démarre le chronomètre
  • toc — Lit le chronomètre
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 19:15:32 CET 2018