Syntax
=SECOND(serial_number)Arguments
| Argument | Required | Description |
|---|---|---|
serial_number | Required | The time or date and time |
How to use SECOND
SECOND takes 1 required argument. Type =SECOND( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=SECOND(TIME(4,48,18))Result Related date and time functions
- MONTHReturns the month (1 to 12) of a date.
- NETWORKDAYSCounts the working days (Monday to Friday) between two dates, both included, leaving out holidays.
- NETWORKDAYS.INTLCounts the working days between two dates, both included, with a choice of weekend days and holidays.
- NOWReturns the current date and time.
- TIMEBuilds a time of day from hours, minutes and seconds.
- TIMEVALUEConverts a time written as text into a fraction of a day.
- TODAYReturns the current date.
- WEEKDAYReturns the day of the week of a date as a number (by default 1 for Sunday to 7 for Saturday).
- WEEKNUMReturns the week number of a date in its year (the week containing January 1 is week 1).