Second Function

Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function.

āļšāˇāļģāļš āļģāˇ“āļ­āˇ’āļē:


Second (Number)

āļ†āļ´āˇƒāˇ” āļŊāļļāˇāļ¯āˇ™āļą āļ…āļœāļē:

Integer

āļ´āļģāˇāļ¸āˇ’āļ­āˇ“āļąāˇŠ:

Number: āļ­āļ­āˇŠāļ´āļģ āļœāļĢāļą āļœāļĢāļąāļē āļšāˇ’āļģāˇ“āļ¸āļ§ āļēāˇœāļ¯āˇ āļœāļąāˇŠāļąāˇ āļ…āļąāˇ”āļšāļ¸ āļšāˇāļŊ āļ…āļ‚āļšāļē āļ…āļŠāļ‚āļœāˇ” āˇƒāļ‚āļ›āˇŠâ€āļēāˇ āļ´āˇŠâ€āļģāļšāˇāˇāļąāļē.

āļ¸āˇ™āļē TimeSerial ‍āļšāˇŠâ€āļģāˇ’āļēāˇāˇ€āˇš āļ´āˇŠâ€āļģāļ­āˇ’āˇ€āˇ’āļģāˇ”āļ¯āˇŠāļ° āļšāˇŠâ€āļģāˇ’āļēāˇāˇ€āļēāˇ’. āļ‘āļē TimeSerial āˇ„āˇ TimeValue āļšāˇŠâ€āļģāˇ’āļēāˇāˇ€āļŊāˇ’āļąāˇŠ āļĸāļąāļąāļē āļšāļģāļą āļŊāļ¯ āļ­āļ­āˇŠāļ´āļģ āļœāļĢāļą āļ´āˇŠâ€āļģāļ­āˇ’āļŊāˇāļˇ āļšāļģāļēāˇ’. āļ‹āļ¯āˇāˇ„āļģāļĢāļēāļšāˇŠ āļŊāˇ™āˇƒāˇ’āļąāˇŠ, āļ¸āˇš āļ´āˇŠâ€āļģāļšāˇāˇāļąāļē:

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

41 āļēāļą āļ…āļœāļē āļŊāļļāˇ āļ¯āˇ™āļēāˇ’.

Error codes:

5 Invalid procedure call

āļ‹āļ¯āˇāˇ„āļģāļĢāļē:


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

Please support us!