Hi friends i want to format a datetime column like
4-mar-10 9:15 pm

Dim myDate As DateTime = DateTime.Now
        Dim dateFormat As String = "d-MMM-yy h:mm tt"
        Console.WriteLine(myDate.ToString(dateFormat).ToLower())

Output: 11-mar-10 10:13 am