Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - English


Time and Date

  • caldayscreate a calendarDuration in days
  • calendarCalendar of a given month and year (Gregorian dates)
  • calendarDurationcreate a calendarDuration - duration in days, months and years
  • clockReturn the current Gregorian datetime and international time zone of the computer's clock
  • dateCurrent date as date string
  • datenumConvert to serial date number
  • datetimecreate points in time
  • datevecDate components
  • durationcreate a duration - duration in hours, minutes and seconds
  • eomdayReturn last day of month
  • etimeElapsed time
  • getdateCurrent datetime or POSIX timestamp from computer's clock. Datetimes from given timestamps
  • hoursconvert reals in hours (duration)
  • isnatcheck if a variable contains "Not a Time" values
  • NaTNot a Time function used to create empty datetime
  • nowReturn current date under the form of a Unix hour (timestamp)
  • realtimeinitsets the time unit
  • sleepsuspend all code executions (console, scripts, callbacks,..)
  • ticstart a stopwatch timer
  • timercpu time
  • tocRead the stopwatch timer
  • weekdayDay's index and name in its week for given dates
Report an issue
<< Sound file handling Scilab Help Output functions >>

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:
Thu Oct 24 11:13:10 CEST 2024