2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by apegram
0
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

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.