Second

Return the seconds of the minute (a number from 0 to 59) for a given time value.

Syntax
      Second(time_value)

Key
   time_value  A valid time.

Examples

Dim intDemo
intDemo = Second(dtmShiftEnd)
intDemo = Second(#08:55:30 AM#)

“For a moment, nothing happened. Then, after a second or so, nothing continued to happen” ~ Douglas Adams

Related VBScript commands

Day - Return the day of the month.
Minute - Return the minute of the hour.
Hour - Return the hour of the day.


 
Copyright © 1999-2024 SS64.com
Some rights reserved