I have my date stored in lngDate as 25/12/2014. I want to parse this to show 25th December 2014
This is the code I'm using but the program just shuts down and doesn't fully run.
Dim lngDate As Long = "25/12/2014"
DateTime.DateFormat = "dd MMM yyyy"
Msgbox(DateTime.DateParse(lngDate), "Date")
How do I change the string 25/12/2014 into 25th December 2014?
Many thanks Jonathan
This is the code I'm using but the program just shuts down and doesn't fully run.
Dim lngDate As Long = "25/12/2014"
DateTime.DateFormat = "dd MMM yyyy"
Msgbox(DateTime.DateParse(lngDate), "Date")
How do I change the string 25/12/2014 into 25th December 2014?
Many thanks Jonathan