Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

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

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend