Second Function

TimeSerial λ˜λŠ” TimeValue ν•¨μˆ˜λ₯Ό μ‚¬μš©ν•˜μ—¬ μƒμ„±ν•œ 연속 μ‹œκ°„ 번호의 초λ₯Ό λ‚˜νƒ€λ‚΄λŠ” μ •μˆ˜λ₯Ό κ΅¬ν•©λ‹ˆλ‹€.

ꡬ문:


Second (Number)

λ°˜ν™˜ κ°’:

Integer

맀개 λ³€μˆ˜:

Number: 초λ₯Ό κ³„μ‚°ν•˜λŠ” 데 μ‚¬μš©λ˜λŠ” 연속 μ‹œκ°„ 번호λ₯Ό ν¬ν•¨ν•˜λŠ” 숫자 μ‹μž…λ‹ˆλ‹€.

이 ν•¨μˆ˜λŠ” TimeSerial ν•¨μˆ˜μ™€ λ°˜λŒ€λ˜λŠ” κ²ƒμœΌλ‘œ, TimeSerial λ˜λŠ” TimeValue ν•¨μˆ˜λ₯Ό μ‚¬μš©ν•˜μ—¬ μƒμ„±ν•œ 연속 μ‹œκ°„ κ°’μ˜ 초λ₯Ό κ΅¬ν•©λ‹ˆλ‹€. 예λ₯Ό λ“€μ–΄,

Print Second(TimeSerial(12,30,41))

κ°’ 41을 κ΅¬ν•©λ‹ˆλ‹€.

Error codes:

5 잘λͺ»λœ ν”„λ‘œμ‹œμ € ν˜ΈμΆœμž…λ‹ˆλ‹€.

예:


Sub ExampleSecond
    MsgBox "The exact second of the current time is "& Second( Now )
End Sub

Please support us!