Syntax
=TIMEVALUE(time_text)Arguments
| Argument | Required | Description |
|---|---|---|
time_text | Required | Text with a time, like "6:35 PM" or "18:35" |
How to use TIMEVALUE
TIMEVALUE takes 1 required argument. Type =TIMEVALUE( 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.
=TIMEVALUE("2:24 AM")Result =TIMEVALUE("22-Aug-2011 6:35 AM")Result Related date and time functions
- NETWORKDAYS.INTLCounts the working days between two dates, both included, with a choice of weekend days and holidays.
- NOWReturns the current date and time.
- SECONDReturns the second (0 to 59) of a time.
- TIMEBuilds a time of day from hours, minutes and seconds.
- 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).
- WORKDAYReturns the date a number of working days (Monday to Friday) before or after a date, skipping holidays.
- WORKDAY.INTLReturns the date a number of working days before or after a date, with a choice of weekend days and holidays.