Second
The Second function returns the number of seconds from
a Time or DateTime variable. This function will
return an integer value in the range 0 to 59.
Dim sDate, sTime sDate = Date() sTime = Now() Response.Write sDate & " - Seconds = " & Second(sDate) & "<BR>" Response.Write sTime & " - Seconds = " & Second(sTime) & "<BR>"
For more information about extracting date and time components,
you should read the information on the Year, Month,
Day, Hour and Minute functions.
|
 |

|