web 2.0

VB.NET & TimeSerial()

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

  1. <%@ Page Language="VB" %>  
  2. <script runat="server">  
  3.   
  4. Sub Page_Load(sender As Object, e As EventArgs)  
  5. Session.LCID = 1033  
  6. Me.lblText1.Text  = TimeSerial(10,29,30)  
  7. End Sub  
  8.   
  9. </script>  
  10. <html>  
  11. <head>  
  12. <title>ShotDev.Com Tutorial</title>  
  13. </head>  
  14. <body>  
  15. <form runat="server">  
  16. <asp:Label id="lblText1" runat="server"></asp:Label><br />  
  17. </form>  
  18. </body>  
  19. </html>  

Screenshot

VB.NET & TimeSerial()
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.