- Graphic skills
- Case
Returns the decimal value at a specific time. The decimal value returned by the function TIME is a value between 0 (zero) and 0.99999999,
Represents the time from 0:00:00 (12:00:00 AM) to 23:59:59 (11:59:59 PM).
Grammar
TIME(hour,minute,second)
Hour is a number between 0 (zero) and 32767, representing the hour. Any value greater than 23 will be divided by 24 and the remainder will be treated as hours.
For example, TIME(27,0,0) = TIME(3,0,0) = .125 or 3:00 AM.
Minute is a number between 0 and 32767, representing minutes. Any value greater than 59 will be converted to hours and minutes.
For example, TIME(0,750,0) = TIME(12,30,0) = .520833 or 12:30 PM.
Second is a number between 0 and 32767, representing seconds. Any value greater than 59 will be converted to hours, minutes, and seconds.
For example, TIME(0,0,2000) = TIME(0,33,22) = .023148 or 12:33:20 AM.
Description
The time value of the WPS table is part of the date value and is expressed as a decimal number (for example, 12:00PM can be expressed as 0.5, because it is half of the day).
评论列表(196条)
测试