Now.ToString : Now « System « VB.Net by API






Now.ToString

  
Imports System
Imports System.Data
Imports System.Windows.Forms
Imports System.Drawing
Imports System.Diagnostics
Imports System.Drawing.Printing
Imports System.ComponentModel


Public Class MainClass
    
    Shared Sub Main()
        Console.WriteLine(Now.ToString("h:mm:ss tt"))
    End Sub
    
End Class

   
    
  








Related examples in the same category

1.Now.DayOfWeek
2.Now.Ticks
3.Now.ToLongTimeString
4.Now.ToUniversalTime