Second Function
TimeSerial λλ TimeValue ν¨μλ₯Ό μ¬μ©νμ¬ μμ±ν μ°μ μκ° λ²νΈμ μ΄λ₯Ό λνλ΄λ μ μλ₯Ό ꡬν©λλ€.
ꡬ문:
Second (Number)
λ°ν κ°:
Integer
λ§€κ° λ³μ:
Number: μ΄λ₯Ό κ³μ°νλ λ° μ¬μ©λλ μ°μ μκ° λ²νΈλ₯Ό ν¬ν¨νλ μ«μ μμ λλ€.
μ΄ ν¨μλ TimeSerial ν¨μμ λ°λλλ κ²μΌλ‘, TimeSerial λλ TimeValue ν¨μλ₯Ό μ¬μ©νμ¬ μμ±ν μ°μ μκ° κ°μ μ΄λ₯Ό ꡬν©λλ€. μλ₯Ό λ€μ΄,
Print Second(TimeSerial(12,30,41)) μμ
κ° 41μ ꡬν©λλ€.
μ:
Sub ExampleSecond
MsgBox "The exact second of the current time is "& Second( Now )
End Sub