VB.NET & TimeSerial() - TimeSerial() : Returns a Variant of subtype Date containing the time for a specific hour, minute, and second.
ShotDev Focus:
- VB.NET & TimeSerial()
Example
TimeSerial.aspx
- <%@ Page Language="VB" %>
- <script runat="server">
- Sub Page_Load(sender As Object, e As EventArgs)
- Session.LCID = 1033
- Me.lblText1.Text = TimeSerial(10,29,30)
- End Sub
- </script>
- <html>
- <head>
- <title>ShotDev.Com Tutorial</title>
- </head>
- <body>
- <form runat="server">
- <asp:Label id="lblText1" runat="server"></asp:Label><br />
- </form>
- </body>
- </html>
Screenshot