Excel VBA, Timer

Sub timerBasics()

    Dim current_time As Single
        
    current_time = Timer

    MsgBox current_time             ' elapsed second from 00:00:00
    MsgBox current_time / 60       ' elapsed minute from 00:00:00
    MsgBox current_time / 3600    ' elapsed hour from 00:00:00
    
End Sub

댓글

이 블로그의 인기 게시물

<배당주 투자> 지주사, '22년 8월

<배당주 투자> ETF, ETN, '22년 9월

<배당주 투자> 분기배당주 '22년 10월