| Applying science to business management |
  
second
Format: second( sernum )
Arguments: (time) sernum Optional date and time
serial number; default = now
Returns: (int) second implied by sernum (0-59)
Note: The serial number used by all date and time
primitives is the number of seconds that have elapsed between an
arbitrary base date and the specified date and time. Dates before
the year 1584 are not valid.
The serial numbers returned by the datenum and now primitives
include the time unit of measure. Use formulas including the
units years, months, days, hours, minutes,
and sec to modify date serial numbers.
Examples: second(datenum(1992,7,18,9,15,10))
= 10
second = current second
second(now+2hours+5minutes) = second
2 hours and 5 minutes from now
See Also: datenum,
now, date, time, year, month, day, hour,
minute, weekday
|