Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Functions
DateSerial Function
DateValue Function
Hour Function
Minute Function
Now Function
Second Function
TimeValue Function
FUNCTION: TimeSerial( )
TimeSerial
(Hour, Minute, Second)
The
TimeSerial
function converts the arguments into the variant of subtype Date.
There are three mandatory arguments.
Hour
The
Hour
argument is the hour as a string or integer.
Minute
The
Minute
argument is the minute as a string or integer.
Second
The
Second
argument is the second as a string or integer.
Code:
<% =TimeSerial(12, 11, 10) %>
Output:
12:11:10 PM
Code:
<% =TimeSerial("12", "11", "10") %>
Output:
12:11:10 PM
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information